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:
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 of
ConditionalArgument objects.- Author:
- Patrick Luby
-
Field Summary
Fields inherited from class org.apache.tools.ant.types.DataType
checked, refFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddConditionalargument(ConditionalArgument argument) Add aConditionalArgument.protected voidAdd aConditionalArgumentSet.getList()GetConditionalArgumentinstances.voidsetRefid(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, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes, toStringMethods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Constructor Details
-
ConditionalArgumentSet
public ConditionalArgumentSet()
-
-
Method Details
-
addConditionalargument
Add aConditionalArgument.- Parameters:
argument- theConditionalArgumentto be added
-
addConditionalargumentset
Add aConditionalArgumentSet.- Parameters:
set- theConditionalArgumentSetto be added
-
getList
GetConditionalArgumentinstances.- Returns:
- the
ConditionalArgumentinstances
-
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:
setRefidin classorg.apache.tools.ant.types.DataType- Parameters:
r- the reference to anotherConditionalArgumentSetinstance- Throws:
org.apache.tools.ant.BuildException
-