Class CurrentState

    • Constructor Detail

      • CurrentState

        public CurrentState​(Prefix prefix,
                            StateName stateName,
                            scala.collection.immutable.Set<Parameter<?>> paramSet)
      • CurrentState

        public CurrentState​(Prefix prefix,
                            StateName currentStateName)
        A Java helper method to construct with String
        Parameters:
        prefix - (undocumented)
        currentStateName - (undocumented)
      • CurrentState

        public CurrentState​(StateName currentStateName,
                            Setup command)
        A Java helper method to create a CurrentState from a Setup
        Parameters:
        currentStateName - (undocumented)
        command - (undocumented)
    • Method Detail

      • apply

        public static CurrentState apply​(Prefix prefix,
                                         StateName stateName,
                                         scala.collection.immutable.Set<Parameter<?>> paramSet)
        A helper method to create CurrentState

        Parameters:
        prefix - identifies the target subsystem
        stateName - identifies the name of the state
        paramSet - an optional initial set of items (keys with values)
        Returns:
        an instance of CurrentState
      • create

        protected CurrentState create​(scala.collection.immutable.Set<Parameter<?>> data)
        Create a new CurrentState instance when a parameter is added or removed

        Specified by:
        create in class ParameterSetType<CurrentState>
        Parameters:
        data - set of parameters
        Returns:
        a new instance of CurrentState with provided data