public abstract class AbstractLaunchTask
extends Task
| Constructor and Description |
|---|
AbstractLaunchTask() |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getLaunchFile()
Returns the launch file.
|
EclipseProject |
getLaunchProject()
Returns the project that shall be launched.
|
Workspace |
getWorkspace()
Returns the Workspace instance associated with this task.
|
boolean |
isLaunchConfigurationSet()
Returns true if the launch configuration file has been set.
|
boolean |
isWorkspaceSet()
Returns true if the Workspace has been set.
|
protected AbstractLaunchConfiguration |
readLaunchConfiguration()
Reads the launch configuration that has been provided by the user.
|
protected void |
readLaunchProject(AbstractLaunchConfiguration config)
Sets the Eclipse project according to the supplied launch configuration.
|
void |
requireWorkspaceSet() |
void |
setInitialiseWorkspace(boolean enable)
Enables/disables the initial workspace initialisation.
|
void |
setLaunchFile(java.io.File launchConfiguration)
Changes the current launch configuration file.
|
void |
setWorkspace(java.io.File workspace) |
protected abstract java.lang.Class[] |
validTypes()
Returns a list of classes which are valid launch configuration types.
|
public Workspace getWorkspace()
public boolean isWorkspaceSet()
public void requireWorkspaceSet()
public void setWorkspace(java.io.File workspace)
workspace - public void setInitialiseWorkspace(boolean enable)
enable - true <=> Enables the pseudo workspace.public EclipseProject getLaunchProject()
public java.io.File getLaunchFile()
public void setLaunchFile(java.io.File launchConfiguration)
launchConfiguration - The new launch configuration file.public boolean isLaunchConfigurationSet()
protected void readLaunchProject(AbstractLaunchConfiguration config)
config - The launch configuration that provides access to the Eclipse
project.protected abstract java.lang.Class[] validTypes()
protected AbstractLaunchConfiguration readLaunchConfiguration()