public class JarInstaller
extends java.lang.Object
| Constructor and Description |
|---|
JarInstaller(java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyDependencies(org.sonatype.aether.graph.DependencyNode dependency,
java.io.File libDir) |
protected java.io.File |
getFile(org.sonatype.aether.graph.DependencyNode node) |
protected void |
setMainClass(ProcessConfig config,
java.io.File installDir,
java.io.File jarFile,
int id,
java.lang.String mainClass)
Sets the executable class name in the given jar
|
void |
unpackJarProcess(ProcessConfig config,
int id,
java.io.File installDir,
JarInstallParameters parameters) |
public void unpackJarProcess(ProcessConfig config, int id, java.io.File installDir, JarInstallParameters parameters) throws java.lang.Exception
java.lang.Exceptionprotected void setMainClass(ProcessConfig config, java.io.File installDir, java.io.File jarFile, int id, java.lang.String mainClass) throws java.lang.Exception
java.lang.Exceptionprotected void copyDependencies(org.sonatype.aether.graph.DependencyNode dependency,
java.io.File libDir)
throws java.io.IOException,
org.sonatype.aether.resolution.ArtifactResolutionException
java.io.IOExceptionorg.sonatype.aether.resolution.ArtifactResolutionExceptionprotected java.io.File getFile(org.sonatype.aether.graph.DependencyNode node)
throws org.sonatype.aether.resolution.ArtifactResolutionException
org.sonatype.aether.resolution.ArtifactResolutionExceptionCopyright © 2014 Red Hat. All Rights Reserved.