org.apache.commons.launcher.types

Class ConditionalArgumentSet

Known Direct Subclasses:
ArgumentSet, JVMArgumentSet

public class ConditionalArgumentSet
extends DataType

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

Author:
Patrick Luby

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(Reference r)
Makes this instance a reference to another instance.

Method Details

addConditionalargument

protected void addConditionalargument(ConditionalArgument argument)

Parameters:
argument - the ConditionalArgument to be added


addConditionalargumentset

protected void addConditionalargumentset(ConditionalArgumentSet set)

Parameters:
set - the ConditionalArgumentSet to be added


getList

public ArrayList getList()

Returns:
the ConditionalArgument instances


setRefid

public void setRefid(Reference r)
            throws 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.

Parameters:
r - the reference to another ConditionalArgumentSet instance


Copyright (c) 2001-2002 - Apache Software Foundation