|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTask
net.sf.ant4eclipse.ant.task.launch.AbstractLaunchTask
public abstract class AbstractLaunchTask
Base class for all Tasks working with an eclipse workspace.
Constructor Summary | |
---|---|
AbstractLaunchTask()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractLaunchTask()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |