public class LaunchPropertyTask extends AbstractLaunchTask
Constructor and Description |
---|
LaunchPropertyTask()
Initializes this task.
|
Modifier and Type | Method and Description |
---|---|
void |
execute() |
java.lang.String |
getMainclass()
Returns the main class.
|
java.lang.String |
getProgramargs()
Returns the program arguments associated with the launch configuration.
|
java.lang.String |
getVmargs()
Returns the VM arguments associated with the launch configuration.
|
java.lang.String |
getWorkingDir()
Returns the name of the working directory property.
|
void |
setMainclass(java.lang.String mainclass)
Changes the class of the main class.
|
void |
setProgramargs(java.lang.String programargs)
Changes the program arguments.
|
void |
setVmargs(java.lang.String vmargs)
Changes the VM arguments.
|
void |
setWorkingDir(java.lang.String dir)
Changes the working directory property.
|
protected java.lang.Class[] |
validTypes()
Returns a list of classes which are valid launch configuration types.
|
getLaunchFile, getLaunchProject, getWorkspace, isLaunchConfigurationSet, isWorkspaceSet, readLaunchConfiguration, readLaunchProject, requireWorkspaceSet, setInitialiseWorkspace, setLaunchFile, setWorkspace
public void setWorkingDir(java.lang.String dir)
dir
- The new name of the working directory property.public java.lang.String getWorkingDir()
public void setVmargs(java.lang.String vmargs)
vmargs
- The VM arguments associated with the launch configuration.public java.lang.String getVmargs()
public void setProgramargs(java.lang.String programargs)
programargs
- The program arguments associated with the launch configuration.public java.lang.String getProgramargs()
public void setMainclass(java.lang.String mainclass)
mainclass
- A fully qualified main class.public java.lang.String getMainclass()
public void execute() throws BuildException
BuildException
protected java.lang.Class[] validTypes()
validTypes
in class AbstractLaunchTask