public class ApplicationDesc extends java.lang.Object implements LaunchDesc
Constructor and Description |
---|
ApplicationDesc(java.lang.String mainClass,
java.lang.String[] arguments)
Create an Application descriptor.
|
Modifier and Type | Method and Description |
---|---|
void |
addArgument(java.lang.String arg)
Add an argument to the end of the arguments.
|
java.lang.String[] |
getArguments() |
java.lang.String |
getMainClass() |
public ApplicationDesc(java.lang.String mainClass, java.lang.String[] arguments)
mainClass
- the main class name and packagearguments
- the argumentspublic java.lang.String getMainClass()
getMainClass
in interface LaunchDesc
public java.lang.String[] getArguments()
public void addArgument(java.lang.String arg)
arg
- argument of command