|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectProjectComponent
net.sf.ant4eclipse.ant.condition.HasBuildCommand
public class HasBuildCommand
The HasBuildCommand implements a condition to test whether a eclipse project has a specific build command or not
Constructor Summary | |
---|---|
HasBuildCommand()
Creates a new instance of type HasBuildCommand. |
Method Summary | |
---|---|
boolean |
eval()
Returns true if the eclipse project contains the requested buildCommand |
boolean |
isBuildCommandSet()
Returns true if the build command has been set. |
void |
requireBuildCommandSet()
Throws a build exception if a build command is not set. |
void |
setBuildCommand(java.lang.String command)
Sets the name of the build command. |
void |
setProject(java.io.File project)
Sets the project. |
void |
setProjectName(java.lang.String project)
Sets the name of the project. |
void |
setWorkspace(java.io.File workspace)
Sets the workspace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HasBuildCommand()
Method Detail |
---|
public boolean eval() throws BuildException
true
if the eclipse project contains the requested buildCommand
true
if the eclipse project contains the requested buildCommand.
BuildException
public void setBuildCommand(java.lang.String command)
command
- name of the build command.public boolean isBuildCommandSet()
true
if the build command has been set.
true
if the build command has been set.public final void requireBuildCommandSet()
public void setProjectName(java.lang.String project)
project
- the name of the project.public void setWorkspace(java.io.File workspace)
workspace
- the workspace.public void setProject(java.io.File project)
project
- the project.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |