public class AvatarClause extends Object
Constructor and Description |
---|
AvatarClause() |
Modifier and Type | Method and Description |
---|---|
void |
addOutput(int _output)
Adds the output value given the inputted restrictions
|
void |
addRestriction(String component,
int state)
Adds a restriction
|
Integer |
getOutput()
Returns the target state of the regulated component
|
Map<String,Integer> |
getRestrictions()
Returns the list of restrictions imposing a well-defined state in the current component
|
String |
toString() |
public void addRestriction(String component, int state)
component
- the ID of the componentstate
- the state of the componentpublic void addOutput(int _output)
_output
- the target state of the current componentpublic Integer getOutput()
public Map<String,Integer> getRestrictions()
Copyright © 2005–2020. All rights reserved.