org.apache.commons.launcher.types
Class ConditionalVariableSet

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.types.DataType
              |
              +--org.apache.commons.launcher.types.ConditionalVariableSet
Direct Known Subclasses:
SysPropertySet

public class ConditionalVariableSet
extends org.apache.tools.ant.types.DataType

A class that represents a set of nested elements of ConditionalVariable objects.

Author:
Patrick Luby

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
ConditionalVariableSet()
           
 
Method Summary
protected  void addConditionalvariable(ConditionalVariable variable)
          Add a ConditionalVariable.
protected  void addConditionalvariableset(ConditionalVariableSet set)
          Add a ConditionalVariableSet.
 java.util.ArrayList getList()
          Get ConditionalVariable 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
circularReference, dieOnCircularReference, getCheckedRef, getDescription, isReference, noChildrenAllowed, setDescription, 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

ConditionalVariableSet

public ConditionalVariableSet()
Method Detail

addConditionalvariable

protected void addConditionalvariable(ConditionalVariable variable)
Add a ConditionalVariable.

Parameters:
variable - the ConditionalVariable to be added

addConditionalvariableset

protected void addConditionalvariableset(ConditionalVariableSet set)
Add a ConditionalVariableSet.

Parameters:
set - the ConditionalVariableSet to be added

getList

public java.util.ArrayList getList()
Get ConditionalVariable instances.

Returns:
the ConditionalVariable 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 ConditionalVariableSet instance
org.apache.tools.ant.BuildException


Copyright (c) 2001-2002 - Apache Software Foundation