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 voidfinalizeJavaExecutable()Finalize the java executableJarSystemCommandExecuterBuilderjar(java.lang.String jar)Set the jarprotected java.lang.StringjavaMain()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:AbstractJavaSystemCommandExecuteBuilderFinalize the java executable- Overrides:
finalizeJavaExecutablein classAbstractJavaSystemCommandExecuteBuilder- See Also:
AbstractJavaSystemCommandExecuteBuilder.finalizeJavaExecutable()
-
javaMain
protected java.lang.String javaMain()
Description copied from class:AbstractJavaSystemCommandExecuteBuilderGet the java main- Specified by:
javaMainin classAbstractJavaSystemCommandExecuteBuilder- Returns:
- the java main
- See Also:
AbstractJavaSystemCommandExecuteBuilder.javaMain()
-
-