public class ConditionalArgument
extends DataType
| Constructor and Description |
|---|
ConditionalArgument() |
| Modifier and Type | Method and 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(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.
|
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)
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 setLine(java.lang.String line)
line - line to split into several commandline argumentspublic void setPath(Path path)
path - a single command line argumentpublic 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 - a single command line argumentCopyright (c) 2001-2002 - Apache Software Foundation