org.kahina.core.gui.breakpoint
Class NodeConstraintOptions
java.lang.Object
org.kahina.core.gui.breakpoint.NodeConstraintOptions
public class NodeConstraintOptions
- extends Object
This class controls the possible settings for elementary constraints in a node constraint editor.
It stores a set of constraint types as well as maps from such types to possible relations and values.
Implementations can either inherit from this method and reimplement addStandardOptions()
or add their additional options to the standard set via addType(), addRelationForType() etc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeConstraintOptions
public NodeConstraintOptions()
setStandardOptions
public void setStandardOptions()
getTypes
public List<String> getTypes()
getRelationsForType
public List<String> getRelationsForType(String typeID)
getValuesForType
public List<String> getValuesForType(String typeID)
addType
public void addType(String type)
addRelationToType
public void addRelationToType(String type,
String relation)