|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.ant.requirements.RequirementContainer
de.enough.polish.ant.requirements.AndRelation
de.enough.polish.ant.requirements.Requirements
public class Requirements
A list of requirements which each supported device needs to satisfy.
Copyright Enough Software 2004 - 2011
history
24-Jan-2004 - rob creation
| Field Summary |
|---|
| Fields inherited from class de.enough.polish.ant.requirements.RequirementContainer |
|---|
requiredIdentifiers |
| Constructor Summary | |
|---|---|
Requirements()
Creates a new device requirements list. |
|
Requirements(Map buildProperties)
Cerates a new device requirements list. |
|
| Method Summary | |
|---|---|
Device[] |
filterDevices(Device[] availableDevices)
Filters the available devices and only returns those which satisfy all requirements. |
boolean |
isActive(BooleanEvaluator evaluator)
Checks if this element should be used. |
boolean |
isActive(org.apache.tools.ant.Project project)
Checks if this element should be used. |
void |
setIf(String ifExpr)
Sets the ant-property which needs to be defined to allow the execution of this task. |
void |
setMessage(String message)
|
void |
setUnless(String unlessExpr)
Sets the ant-property which must not be defined to allow the execution of this task. |
| Methods inherited from class de.enough.polish.ant.requirements.AndRelation |
|---|
isMet |
| Methods inherited from class de.enough.polish.ant.requirements.RequirementContainer |
|---|
add, addConfiguredAnd, addConfiguredNand, addConfiguredNot, addConfiguredOr, addConfiguredRequirement, addConfiguredXor, addRequirement, getFilters, getRequiredIdentifiers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Requirements()
public Requirements(Map buildProperties)
buildProperties - the build properties| Method Detail |
|---|
public void setMessage(String message)
public Device[] filterDevices(Device[] availableDevices)
availableDevices - array of all available devices.
public void setIf(String ifExpr)
ifExpr - the ant-property which needs to be definedpublic void setUnless(String unlessExpr)
unlessExpr - the ant-property which must not be definedpublic boolean isActive(org.apache.tools.ant.Project project)
project - The project to which this nested element belongs to.
public boolean isActive(BooleanEvaluator evaluator)
evaluator - the boolean evaluator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||