public class AbstractCondition
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
AbstractCondition() |
Modifier and Type | Method and Description |
---|---|
Message |
getMessage() |
Type |
getSource()
Returns the holder of this condition.
|
boolean |
isShowingError()
Indicates if this condition should show an error if it is not true.
|
boolean |
isUsingDefaultToggle()
Indicates if a condition is able to toggle (flip flop).
|
void |
setSource(Type source)
Sets the holder of this condition.
|
void |
setUsingDefaultToggle(boolean toggle) |
public Type getSource()
public boolean isShowingError()
public boolean isUsingDefaultToggle()
public void setUsingDefaultToggle(boolean toggle)
public void setSource(Type source)
source
- holder of this conditionpublic Message getMessage()