Class JarSystemCommandExecuterBuilder
- java.lang.Object
-
- com.github.toolarium.system.command.builder.system.AbstractCommandExecuterBuilder
-
- com.github.toolarium.system.command.builder.java.AbstractJavaSystemCommandExecuteBuilder
-
- com.github.toolarium.system.command.builder.java.JarSystemCommandExecuterBuilder
-
- All Implemented Interfaces:
ISystemCommandExecuterBuilder
public class JarSystemCommandExecuterBuilder extends AbstractJavaSystemCommandExecuteBuilder
The jar system command executer builder
-
-
Constructor Summary
Constructors Constructor Description JarSystemCommandExecuterBuilder(SystemCommandGroupList systemCommandGroupList)
Constructor for JarSystemCommandExecuterBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalizeJavaExecutable()
Finalize the java executableJarSystemCommandExecuterBuilder
jar(java.lang.String jar)
Set the jarprotected java.lang.String
javaMain()
Get the java main-
Methods inherited from class com.github.toolarium.system.command.builder.java.AbstractJavaSystemCommandExecuteBuilder
childBuild, classPath, environmentVariable, inheritClassPath, inheritJre, javaAgent, javaExecutable, javaHeadless, javaMemory, javaTempPath, javaUser, jrePath, lock, lock, parameter, shell, systemProperty, systemProperty, user, workingPath
-
Methods inherited from class com.github.toolarium.system.command.builder.system.AbstractCommandExecuterBuilder
addSystemCommand, addSystemCommandGroup, build, command, command, command, command, equals, getProcessEnvironment, getSystemCommand, hashCode, onError, onSuccess, onSuccessOrError, pipe
-
-
-
-
Constructor Detail
-
JarSystemCommandExecuterBuilder
public JarSystemCommandExecuterBuilder(SystemCommandGroupList systemCommandGroupList)
Constructor for JarSystemCommandExecuterBuilder- Parameters:
systemCommandGroupList
- the system command group list
-
-
Method Detail
-
jar
public JarSystemCommandExecuterBuilder jar(java.lang.String jar)
Set the jar- Parameters:
jar
- the java jar reference- Returns:
- the jar system command executer builder
-
finalizeJavaExecutable
protected void finalizeJavaExecutable()
Description copied from class:AbstractJavaSystemCommandExecuteBuilder
Finalize the java executable- Overrides:
finalizeJavaExecutable
in classAbstractJavaSystemCommandExecuteBuilder
- See Also:
AbstractJavaSystemCommandExecuteBuilder.finalizeJavaExecutable()
-
javaMain
protected java.lang.String javaMain()
Description copied from class:AbstractJavaSystemCommandExecuteBuilder
Get the java main- Specified by:
javaMain
in classAbstractJavaSystemCommandExecuteBuilder
- Returns:
- the java main
- See Also:
AbstractJavaSystemCommandExecuteBuilder.javaMain()
-
-