org.apache.commons.launcher
public class LaunchCommand extends Object
Method Summary | |
---|---|
boolean | getAppendoutput()
Get the appendOutput flag.
|
ArrayList | getArgs()
Get the list of nested arg elements.
|
String | getClassname()
Get the class name.
|
String | getClasspath()
Get the classpath.
|
boolean | getDebug()
Get the debug flag.
|
boolean | getDisplayminimizedwindow()
Get the displayMinimizedWindow flag.
|
boolean | getDisposeminimizedwindow()
Get the disposeMinimizedWindow flag.
|
boolean | getFailonerror()
Get the failOnError flag.
|
ArrayList | getJvmargs()
Get the list of nested jvmarg elements.
|
File | getMinimizedwindowicon()
Get the icon file for the minimized window that will be displayed in the
Windows taskbar.
|
String | getMinimizedwindowtitle()
Get the title for the minimized window that will be displayed in the
Windows taskbar.
|
File | getOutput()
Get the file that the child JVM's System.out and System.err will be
redirected to.
|
boolean | getPrint()
Get the print flag.
|
boolean | getRedirectoutput()
Get the redirect flag.
|
boolean | getRequiretools()
Get the requireTools flag.
|
HashMap | getSysproperties()
Get the list of nested sysproperty elements.
|
boolean | getUsesystemin()
Get the useSystemIn flag.
|
boolean | getWaitforchild()
Get the waitForChild flag.
|
void | setAppendoutput(boolean appendOutput)
Set the appendOutput flag. |
void | setArgs(ArrayList args)
Set the list of nested arg elements.
|
void | setClassname(String mainClassName)
Set the class name.
|
void | setClasspath(String classpath)
Set the classpath.
|
void | setDebug(boolean debug)
Set the debug flag.
|
void | setDisplayminimizedwindow(boolean displayMinimizedWindow)
Set the displayMinimizedWindow flag. |
void | setDisposeminimizedwindow(boolean disposeMinimizedWindow)
Set the disposeMinimizedWindow flag. |
void | setFailonerror(boolean failOnError)
Set the failOnError flag.
|
void | setJvmargs(ArrayList jvmArgs)
Set the list of nested jvmarg elements.
|
void | setMinimizedwindowicon(File minimizedWindowIcon)
Set the icon file for the minimized window that will be displayed in the
Windows taskbar. |
void | setMinimizedwindowtitle(String minimizedWindowTitle)
Set the title for the minimized window that will be displayed in the
Windows taskbar. |
void | setOutput(File outputFile)
Set the file that the child JVM's System.out and System.err will be
redirected to. |
void | setPrint(boolean print)
Set the print flag.
|
void | setRedirectoutput(boolean redirect)
Set the redirect flag. |
void | setRequiretools(boolean requireTools)
Set the requireTools flag.
|
void | setSysproperties(HashMap sysProperties)
Set the list of nested sysproperty elements.
|
void | setUsesystemin(boolean useSystemIn)
Set the useSystemIn flag. |
void | setWaitforchild(boolean waitForChild)
Set the waitForChild flag. |
Returns: the appendOutput flag
Returns: the list of String objects
Returns: the class to execute main(String[])
Returns: the classpath
Returns: the debug flag
Returns: the displayMinimizedWindow flag
Returns: the disposeMinimizedWindow flag
Returns: the failOnError flag
Returns: the list of String objects
Returns: the icon file to use for any minimized window that is displayed in the Windows taskbar
Returns: the title to set for any minimized window that is displayed in the Windows taskbar
Returns: the File to redirect System.out and System.err to
Returns: the print flag
Returns: the redirect flag
Returns: the requireTools flag
Returns: the String objects
Returns: the useSystemIn flag
Returns: the waitForChild flag
Parameters: appendOutput true if output should be appended to the output file
Parameters: args a list of String objects
Parameters: mainClassName the class to execute main(String[])
Parameters: classpath the classpath
Parameters: debug the debug flag
Parameters: displayMinimizedWindow true if a minimized window should be displayed in the Windows task bar while the child process is executing
main(String[])
returns.
This flag is normally used for applications that don't explicitly call
System#exit(int). If an application does not explicitly call
System#exit(int), an minimized windows need to be disposed of
for the child JVM to exit.
Parameters: disposeMinimizedWindow true if a minimized window in the Windows
taskbar should be automatically disposed of after the child JVM's
main(String[])
returns
Parameters: failOnError the failOnError flag
Parameters: jvmArgs a list of String objects
Parameters: minimizedWindowIcon the icon file to use for any minimized window that is displayed in the Windows taskbar
Parameters: minimizedWindowTitle the title to set for any minimized window that is displayed in the Windows taskbar
Parameters: outputFile a File to redirect System.out and System.err to
Parameters: print the print flag
Parameters: redirect true if System.out and System.err should be redirected
Parameters: requireTools the requireTools flag
Parameters: sysProperties a map of String objects
Parameters: useSystemIn the useSystemIn flag
Parameters: waitForChild the waitForChild flag