net.sf.ant4eclipse.ant.task.projectset
Class GetBuildOrderTask

java.lang.Object
  extended by Task
      extended by net.sf.ant4eclipse.ant.task.projectset.AbstractProjectSetBasedTask
          extended by net.sf.ant4eclipse.ant.task.projectset.GetBuildOrderTask

public class GetBuildOrderTask
extends AbstractProjectSetBasedTask


Nested Class Summary
static class GetBuildOrderTask.NonJavaProjectHandling
           
 
Constructor Summary
GetBuildOrderTask()
           
 
Method Summary
 void execute()
          
 java.lang.String getBuildorderProperty()
          Returns the name of the build order property.
 GetBuildOrderTask.NonJavaProjectHandling getNonJavaProjectHandling()
           
 java.lang.String getProjectNames()
           
 boolean isBuildorderPropertySet()
          Returns true if the build order property has been set.
 boolean isProjectNamesSet()
           
 void requireBuildorderPropertySet()
           
protected  void requireProjectSetOrProjectNamesSet()
           
 void setAllProjects(boolean allprojects)
          Changes a flag which indicates whether all projects within a workspace shall be recognized or not.
 void setBuildorderProperty(java.lang.String buildorderProperty)
           
 void setNonJavaProjectHandling(GetBuildOrderTask.NonJavaProjectHandling nonjavaProjectHandling)
           
 void setProjectNames(java.lang.String projectNames)
           
 
Methods inherited from class net.sf.ant4eclipse.ant.task.projectset.AbstractProjectSetBasedTask
getProjectSet, getWorkspace, isProjectSetSet, isWorkspaceSet, requireProjectSetSet, requireWorkspaceSet, setProjectSet, setWorkspace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetBuildOrderTask

public GetBuildOrderTask()
Method Detail

getNonJavaProjectHandling

public GetBuildOrderTask.NonJavaProjectHandling getNonJavaProjectHandling()

setNonJavaProjectHandling

public void setNonJavaProjectHandling(GetBuildOrderTask.NonJavaProjectHandling nonjavaProjectHandling)

setAllProjects

public void setAllProjects(boolean allprojects)
Changes a flag which indicates whether all projects within a workspace shall be recognized or not.

Parameters:
allprojects - true <=> Take all projects within the workspace into account.

setBuildorderProperty

public final void setBuildorderProperty(java.lang.String buildorderProperty)
Parameters:
buildorderProperty -

getBuildorderProperty

public final java.lang.String getBuildorderProperty()
Returns the name of the build order property.

Returns:
The name of the build order property.

isBuildorderPropertySet

public final boolean isBuildorderPropertySet()
Returns true if the build order property has been set.

Returns:
true <=> The build order property has been set.

getProjectNames

public java.lang.String getProjectNames()

setProjectNames

public void setProjectNames(java.lang.String projectNames)

isProjectNamesSet

public boolean isProjectNamesSet()

requireBuildorderPropertySet

public final void requireBuildorderPropertySet()

requireProjectSetOrProjectNamesSet

protected void requireProjectSetOrProjectNamesSet()

execute

public void execute()
             throws BuildException

Throws:
BuildException