|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.creole.ParameterList
public class ParameterList
Models resource parameters lists as described in their creole.xml metadata. Parameters are stored as lists of disjunctions (OR'd sets in the metadata).
| Field Summary | |
|---|---|
private static boolean |
DEBUG
Debug flag |
protected boolean |
fullyDefaulted
Status of the last run of getDefaults(List). |
protected List<List<Parameter>> |
initimeParameters
The initialisation time parameters |
protected List<List<Parameter>> |
runtimeParameters
The runtime parameters |
| Constructor Summary | |
|---|---|
ParameterList()
|
|
| Method Summary | |
|---|---|
boolean |
add(List<Parameter> disjunction)
Add a parameter disjunction. |
boolean |
addAll(List<Parameter> c)
Add all the members of a parameter list (as individual disjunctions) |
FeatureMap |
getDefaults(List<List<Parameter>> parameters)
Get default parameter value set. |
FeatureMap |
getInitimeDefaults()
Get default initime parameter value set. |
List<List<Parameter>> |
getInitimeParameters()
Get the list of initialisation-time parameters (as a list of parameter disjunctions). |
FeatureMap |
getRuntimeDefaults()
Get default runtime parameter value set. |
List<List<Parameter>> |
getRuntimeParameters()
Get the list of runtime parameters (as a list of parameter disjunctions). |
boolean |
isFullyDefaulted()
Get the status of the last run of getDefaults(List). |
String |
toString()
String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final boolean DEBUG
protected List<List<Parameter>> runtimeParameters
protected List<List<Parameter>> initimeParameters
protected boolean fullyDefaulted
| Constructor Detail |
|---|
public ParameterList()
| Method Detail |
|---|
public List<List<Parameter>> getRuntimeParameters()
public List<List<Parameter>> getInitimeParameters()
public boolean add(List<Parameter> disjunction)
NoSuchElementException - disjunction has no more elements.public boolean addAll(List<Parameter> c)
public FeatureMap getRuntimeDefaults()
throws ParameterException
ParameterExceptiongetDefaults(List)
public FeatureMap getInitimeDefaults()
throws ParameterException
ParameterExceptiongetDefaults(List)
public FeatureMap getDefaults(List<List<Parameter>> parameters)
throws ParameterException
ParameterExceptionisFullyDefaulted()public boolean isFullyDefaulted()
getDefaults(List)public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||