Class StateVariable$

java.lang.Object
csw.params.core.states.StateVariable$

public class StateVariable$ extends Object
  • Field Details

    • MODULE$

      public static final StateVariable$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • StateVariable$

      public StateVariable$()
  • Method Details

    • createCurrentStates

      public CurrentStates createCurrentStates(CurrentState... states)
      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

      public boolean defaultMatcher(DemandState demand, CurrentState current)
      The default matcher for state variables tests for an exact match

      Parameters:
      demand - the demand state
      current - the current state
      Returns:
      true if the demand and current states match (in this case, are equal)
    • createCurrentStates

      public CurrentStates createCurrentStates(scala.collection.immutable.Seq<CurrentState> states)
      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

      public CurrentStates createCurrentStates(List<CurrentState> states)
      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