Package csw.params.core.states
Class StateVariable$
java.lang.Object
csw.params.core.states.StateVariable$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StateVariable$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCurrentStates
(CurrentState... states) A Java helper method to create CurrentStatecreateCurrentStates
(List<CurrentState> states) A Java helper method to create CurrentStatecreateCurrentStates
(scala.collection.immutable.Seq<CurrentState> states) A Java helper method to create CurrentStateboolean
defaultMatcher
(DemandState demand, CurrentState current) The default matcher for state variables tests for an exact match
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
StateVariable$
public StateVariable$()
-
-
Method Details
-
createCurrentStates
A Java helper method to create CurrentState- Parameters:
states
- one or more CurrentState objects- Returns:
- a new CurrentStates object containing all the given CurrentState objects
-
defaultMatcher
The default matcher for state variables tests for an exact match- Parameters:
demand
- the demand statecurrent
- the current state- Returns:
- true if the demand and current states match (in this case, are equal)
-
createCurrentStates
A Java helper method to create CurrentState- Parameters:
states
- one or more CurrentState objects- Returns:
- a new CurrentStates object containing all the given CurrentState objects
-
createCurrentStates
A Java helper method to create CurrentState- Parameters:
states
- one or more CurrentState objects- Returns:
- a new CurrentStates object containing all the given CurrentState objects
-