public class StartOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
childproc
Flag if process starter should be used for complete process decoupling.
|
protected java.lang.String |
classpath
The classpath.
|
protected java.lang.String |
errorfile
The error stream redirection file name (if any).
|
protected java.lang.String |
javacmd
The path to the java command.
|
protected java.lang.String |
main
The main class to start.
|
protected java.lang.String |
outputfile
The output stream redirection file name (if any).
|
protected java.lang.String |
prgmargs
The program arguments.
|
protected java.lang.String |
startdir
The start directory.
|
protected java.lang.String |
vmargs
The vm arguments.
|
Constructor and Description |
---|
StartOptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassPath()
Get the classpath.
|
java.lang.String |
getErrorFile()
Get the error stream redirection file (if any).
|
java.lang.String |
getJavaCommand()
Get the java command.
|
java.lang.String |
getMain()
Get the main.
|
java.lang.String |
getOutputFile()
Get the output stream redirection file (if any).
|
java.lang.String |
getProgramArguments()
Get the prgmargs.
|
java.lang.String |
getStartCommand()
Get the complete start command.
|
java.lang.String |
getStartDirectory()
Get the startdir.
|
java.lang.String |
getVMArguments()
Get the vmargs.
|
boolean |
isChildProcess()
Get the childProcess.
|
void |
setChildProcess(boolean childproc)
Set the childProcess.
|
void |
setClassPath(java.lang.String classpath)
Set the classpath.
|
void |
setErrorFile(java.lang.String errorfile)
Set the error stream redirection file (if any).
|
void |
setJavaCommand(java.lang.String javacmd)
Set the java.
|
void |
setMain(java.lang.String main)
Set the main.
|
void |
setOutputFile(java.lang.String outputfile)
Set the output stream redirection file (if any).
|
void |
setProgramArguments(java.lang.String prgmargs)
Set the prgmargs.
|
void |
setStartDirectory(java.lang.String startdir)
Set the startdir.
|
void |
setVMArguments(java.lang.String vmargs)
Set the vmargs.
|
java.lang.Process |
startProcess()
Start a platform using a configuration.
|
java.lang.String |
toString()
String representation.
|
protected java.lang.String javacmd
protected java.lang.String classpath
protected java.lang.String main
protected java.lang.String prgmargs
protected java.lang.String vmargs
protected java.lang.String startdir
protected java.lang.String outputfile
protected java.lang.String errorfile
protected boolean childproc
public java.lang.String getJavaCommand()
public void setJavaCommand(java.lang.String javacmd)
java
- The java to set.public java.lang.String getClassPath()
public void setClassPath(java.lang.String classpath)
classpath
- The classpath to set.public java.lang.String getMain()
public void setMain(java.lang.String main)
main
- The main to set.public java.lang.String getProgramArguments()
public void setProgramArguments(java.lang.String prgmargs)
prgmargs
- The prgmargs to set.public java.lang.String getVMArguments()
public void setVMArguments(java.lang.String vmargs)
vmargs
- The vmargs to set.public java.lang.String getStartDirectory()
public void setStartDirectory(java.lang.String startdir)
startdir
- The startdir to set.public java.lang.String getOutputFile()
public void setOutputFile(java.lang.String outputfile)
outputfile
- The output file name.public java.lang.String getErrorFile()
public void setErrorFile(java.lang.String errorfile)
errorfile
- The error file name.public boolean isChildProcess()
public void setChildProcess(boolean childproc)
childProcess
- The childProcess to set.public java.lang.String getStartCommand()
public java.lang.Process startProcess() throws java.lang.Exception
options
- The arguments.java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object