org.apache.commons.launcher.types
Class ConditionalArgumentSet

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by 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, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
ConditionalArgumentSet()
           
 
Method Summary
protected  void addConditionalargument(ConditionalArgument argument)
          Add a ConditionalArgument.
protected  void addConditionalargumentset(ConditionalArgumentSet set)
          Add a ConditionalArgumentSet.
 ArrayList getList()
          Get ConditionalArgument 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
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConditionalArgumentSet

public ConditionalArgumentSet()
Method Detail

addConditionalargument

protected void addConditionalargument(ConditionalArgument argument)
Add a ConditionalArgument.

Parameters:
argument - the ConditionalArgument to be added

addConditionalargumentset

protected void addConditionalargumentset(ConditionalArgumentSet set)
Add a ConditionalArgumentSet.

Parameters:
set - the ConditionalArgumentSet to be added

getList

public ArrayList getList()
Get ConditionalArgument 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 class org.apache.tools.ant.types.DataType
Parameters:
r - the reference to another ConditionalArgumentSet instance
Throws:
org.apache.tools.ant.BuildException


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.