public class StartOptions extends Object
Constructor and Description |
---|
StartOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getClassPath()
Get the classpath.
|
String |
getErrorFile()
Get the error stream redirection file (if any).
|
String |
getJavaCommand()
Get the java command.
|
String |
getMain()
Get the main.
|
String |
getOutputFile()
Get the output stream redirection file (if any).
|
String |
getProgramArguments()
Get the prgmargs.
|
String |
getStartCommand()
Get the complete start command.
|
String |
getStartDirectory()
Get the startdir.
|
String |
getVMArguments()
Get the vmargs.
|
boolean |
isChildProcess()
Get the childProcess.
|
void |
setChildProcess(boolean childproc)
Set the childProcess.
|
void |
setClassPath(String classpath)
Set the classpath.
|
void |
setErrorFile(String errorfile)
Set the error stream redirection file (if any).
|
void |
setJavaCommand(String javacmd)
Set the java.
|
void |
setMain(String main)
Set the main.
|
void |
setOutputFile(String outputfile)
Set the output stream redirection file (if any).
|
void |
setProgramArguments(String prgmargs)
Set the prgmargs.
|
void |
setStartDirectory(String startdir)
Set the startdir.
|
void |
setVMArguments(String vmargs)
Set the vmargs.
|
Process |
startProcess()
Start a platform using a configuration.
|
String |
toString()
String representation.
|
public String getJavaCommand()
public void setJavaCommand(String javacmd)
java
- The java to set.public String getClassPath()
public void setClassPath(String classpath)
classpath
- The classpath to set.public String getMain()
public void setMain(String main)
main
- The main to set.public String getProgramArguments()
public void setProgramArguments(String prgmargs)
prgmargs
- The prgmargs to set.public String getVMArguments()
public void setVMArguments(String vmargs)
vmargs
- The vmargs to set.public String getStartDirectory()
public void setStartDirectory(String startdir)
startdir
- The startdir to set.public String getOutputFile()
public void setOutputFile(String outputfile)
outputfile
- The output file name.public String getErrorFile()
public void setErrorFile(String errorfile)
errorfile
- The error file name.public boolean isChildProcess()
public void setChildProcess(boolean childproc)
childProcess
- The childProcess to set.public String getStartCommand()
public Process startProcess() throws Exception
options
- The arguments.Exception
Copyright © 2013. All Rights Reserved.