public class ConditionalVariable
extends org.apache.tools.ant.types.DataType
Constructor and Description |
---|
ConditionalVariable() |
Modifier and Type | Method and Description |
---|---|
String |
getIf()
Get the "if" condition flag.
|
String |
getKey()
Get the key.
|
String |
getUnless()
Get the "unless" condition flag.
|
String |
getValue()
Get the value.
|
void |
setFile(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(String property)
Set the "if" condition.
|
void |
setKey(String key)
Set the key.
|
void |
setPath(org.apache.tools.ant.types.Path path)
Set the value to a
Path . |
void |
setUnless(String property)
Set the "unless" condition.
|
void |
setValue(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, toString
public String getIf()
public String getKey()
public String getUnless()
public String getValue()
public void setFile(File file)
File
.file
- the File
for this variablepublic void setPath(org.apache.tools.ant.types.Path path)
Path
.path
- the Path
for this variablepublic void setIf(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(String key)
key
- the key for this variablepublic void setFile(org.apache.tools.ant.types.Path path)
Path
.path
- the Path
for this variablepublic void setUnless(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(String value)
value
- the value for this variableCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.