|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.commons.launcher.types.ConditionalArgument
A class that represents nested
Field Summary
Fields inherited from class org.apache.tools.ant.types.DataType
checked, description, ref
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
Constructor Summary
ConditionalArgument()
Method Summary
java.lang.StringgetIf()
Get the "if" condition flag.
java.lang.String[]getParts()
Get a single command line argument.
java.lang.StringgetUnless()
Get the "unless" condition flag.
voidsetFile(java.io.File file)
Set a single command line argument to the absolute
filename of the specified file.
voidsetIf(java.lang.String property)
Set the "if" condition.
voidsetLine(java.lang.String line)
Set a line to split into several command line arguments.
voidsetPath(org.apache.tools.ant.types.Path path)
Set a single command line argument and treat it like a path.
voidsetUnless(java.lang.String property)
Set the "unless" condition.
voidsetValue(java.lang.String value)
Set a single command line argument.
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, log, log, setProject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
ConditionalArgument
public ConditionalArgument()
Method Detail
getIf
public java.lang.String getIf()
getParts
public java.lang.String[] getParts()
getUnless
public java.lang.String getUnless()
setFile
public void setFile(java.io.File file)
file - a single command line argument
setIf
public void setIf(java.lang.String property)
Task.execute() method. If the
following conditions are true, the task should process this element:
The flag is neither null nor a empty string
The property that the flag resolves to after macro substitution
is defined
property - a property name or macro
setLine
public void setLine(java.lang.String line)
line - line to split into several commandline arguments
setPath
public void setPath(org.apache.tools.ant.types.Path path)
path - a single command line argument
setUnless
public void setUnless(java.lang.String property)
Task.execute() method. If the
following conditions are true, the task should ignore this element:
The flag is neither null nor a empty string
The property that the flag resolves to after macro substitution
is defined
property - a property name or macro
setValue
public void setValue(java.lang.String value)
value - a single command line argument
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright (c) 2001-2002 - Apache Software Foundation