|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xmlcalabash.drivers.CalabashTask.Option
public static class CalabashTask.Option
The Option inner class represents a pipeline option.
Constructor Summary | |
---|---|
CalabashTask.Option()
|
Method Summary | |
---|---|
java.lang.String |
getName()
Get the parameter name |
java.lang.String |
getValue()
Get the parameter value |
void |
setName(java.lang.String name)
Set the name. |
void |
setProject(org.apache.tools.ant.Project project)
Set the current project |
void |
setUnless(java.lang.Object unlessCond)
Set whether this input should NOT be used. |
void |
setUnless(java.lang.String unlessProperty)
Set whether this input should NOT be used. |
void |
setValue(java.lang.String value)
Set the value. |
boolean |
shouldUse()
Ensures that the input passes the conditions placed on it with if and unless properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalabashTask.Option()
Method Detail |
---|
public void setProject(org.apache.tools.ant.Project project)
project
- the current projectpublic void setName(java.lang.String name)
name
- the parameter namepublic java.lang.String getName()
public void setValue(java.lang.String value)
value
- the parameter valuepublic java.lang.String getValue()
public void setUnless(java.lang.Object unlessCond)
unlessCond
- evaluated expressionpublic void setUnless(java.lang.String unlessProperty)
unlessProperty
- evaluated expressionpublic boolean shouldUse()
if
and unless
properties.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |