Package org.oddjob.state
Class IsSaveable
java.lang.Object
org.oddjob.state.IsSaveable
- All Implemented Interfaces:
Predicate<State>,StateCondition
The
StateConditions that is always
true.
Should this throw an IllegalStateException if the condition is DESTROYED?
- Author:
- rob
- See Also:
-
Constructor Details
-
IsSaveable
public IsSaveable()
-
-
Method Details
-
state
-
test
Description copied from interface:StateConditionTests the condition of the state.- Specified by:
testin interfacePredicate<State>- Specified by:
testin interfaceStateCondition- Parameters:
state- The state.- Returns:
- true if the state matches the condition, false otherwise.
-