java.lang.Cloneablepublic class ConditionalVariable
extends org.apache.tools.ant.types.DataType
| Constructor | Description |
|---|---|
ConditionalVariable() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getIf() |
Get the "if" condition flag.
|
java.lang.String |
getKey() |
Get the key.
|
java.lang.String |
getUnless() |
Get the "unless" condition flag.
|
java.lang.String |
getValue() |
Get the value.
|
void |
setFile(java.io.File file) |
Set the value to a
File. |
void |
setFile(org.apache.tools.ant.types.Path path) |
Set the value to a
Path. |
void |
setIf(java.lang.String property) |
Set the "if" condition.
|
void |
setKey(java.lang.String key) |
Set the key.
|
void |
setPath(org.apache.tools.ant.types.Path path) |
Set the value to a
Path. |
void |
setUnless(java.lang.String property) |
Set the "unless" condition.
|
void |
setValue(java.lang.String value) |
Set the value.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringpublic java.lang.String getIf()
public java.lang.String getKey()
public java.lang.String getUnless()
public java.lang.String getValue()
public void setFile(java.io.File file)
File.value - the File for this variablepublic void setPath(org.apache.tools.ant.types.Path path)
Path.value - the Path for this variablepublic void setIf(java.lang.String property)
Task.execute() method. If the
following conditions are true, the task should process this element:
property - a property name or macropublic void setKey(java.lang.String key)
key - the key for this variablepublic void setFile(org.apache.tools.ant.types.Path path)
Path.value - the Path for this variablepublic void setUnless(java.lang.String property)
Task.execute() method. If the
following conditions are true, the task should ignore this element:
property - a property name or macropublic void setValue(java.lang.String value)
value - the value for this variableCopyright (c) 2001-2002 - Apache Software Foundation