Class ConditionalArgumentSet
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.types.DataType
-
- org.apache.commons.launcher.types.ConditionalArgumentSet
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
ArgumentSet
,JVMArgumentSet
public class ConditionalArgumentSet extends org.apache.tools.ant.types.DataType
A class that represents a set of nested elements ofConditionalArgument
objects.- Author:
- Patrick Luby
-
-
Constructor Summary
Constructors Constructor Description ConditionalArgumentSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addConditionalargument(ConditionalArgument argument)
Add aConditionalArgument
.protected void
addConditionalargumentset(ConditionalArgumentSet set)
Add aConditionalArgumentSet
.java.util.ArrayList
getList()
GetConditionalArgument
instances.void
setRefid(org.apache.tools.ant.types.Reference r)
Makes this instance a reference to another instance.-
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes, toString
-
-
-
-
Method Detail
-
addConditionalargument
protected void addConditionalargument(ConditionalArgument argument)
Add aConditionalArgument
.- Parameters:
argument
- theConditionalArgument
to be added
-
addConditionalargumentset
protected void addConditionalargumentset(ConditionalArgumentSet set)
Add aConditionalArgumentSet
.- Parameters:
set
- theConditionalArgumentSet
to be added
-
getList
public java.util.ArrayList getList()
GetConditionalArgument
instances.- Returns:
- the
ConditionalArgument
instances
-
setRefid
public void setRefid(org.apache.tools.ant.types.Reference r) throws org.apache.tools.ant.BuildException
Makes this instance a reference to another instance. You must not set another attribute or nest elements inside this element if you make it a reference.- Overrides:
setRefid
in classorg.apache.tools.ant.types.DataType
- Parameters:
r
- the reference to anotherConditionalArgumentSet
instance- Throws:
org.apache.tools.ant.BuildException
-
-