java.lang.Cloneable
public class ConditionalArgument
extends org.apache.tools.ant.types.DataType
Constructor | Description |
---|---|
ConditionalArgument() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getIf() |
Get the "if" condition flag.
|
java.lang.String[] |
getParts() |
Get a single command line argument.
|
java.lang.String |
getUnless() |
Get the "unless" condition flag.
|
void |
setFile(java.io.File file) |
Set a single command line argument to the absolute
filename of the specified file.
|
void |
setIf(java.lang.String property) |
Set the "if" condition.
|
void |
setLine(java.lang.String line) |
Set a line to split into several command line arguments.
|
void |
setPath(org.apache.tools.ant.types.Path path) |
Set a single command line argument and treat it like a path.
|
void |
setUnless(java.lang.String property) |
Set the "unless" condition.
|
void |
setValue(java.lang.String value) |
Set a single command line argument.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
public java.lang.String getIf()
public java.lang.String[] getParts()
public java.lang.String getUnless()
public void setFile(java.io.File file)
file
- a single command line argumentpublic 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 setLine(java.lang.String line)
line
- line to split into several commandline argumentspublic void setPath(org.apache.tools.ant.types.Path path)
path
- a single command line argumentpublic 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
- a single command line argumentCopyright (c) 2001-2002 - Apache Software Foundation