public class ConditionalVariable
extends DataType
| Constructor and Description |
|---|
ConditionalVariable() |
| Modifier and Type | Method and 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(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(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.
|
public 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(Path path)
Path.value - the Path for this variablepublic void setIf(java.lang.String property)
org.apache.tools.ant.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(Path path)
Path.value - the Path for this variablepublic void setUnless(java.lang.String property)
org.apache.tools.ant.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