Package csw.params.core.states
Class CurrentState
- java.lang.Object
- 
- csw.params.core.generics.ParameterSetType<CurrentState>
- 
- csw.params.core.states.CurrentState
 
 
- 
- All Implemented Interfaces:
- ParameterSetKeyData,- StateVariable,- CommandSerializable,- java.io.Serializable,- scala.Equals,- scala.Product
 
 public class CurrentState extends ParameterSetType<CurrentState> implements ParameterSetKeyData, StateVariable, scala.Product, java.io.Serializable A state variable that indicates the ''current'' or actual state.param: prefix identifies the target subsystem param: stateName identifies the name of the state param: paramSet an optional initial set of items (keys with values) - See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCurrentState.NameableCurrentState$
 - 
Constructor SummaryConstructors Constructor Description CurrentState(Prefix prefix, StateName currentStateName)A Java helper method to construct with StringCurrentState(Prefix prefix, StateName stateName, scala.collection.immutable.Set<Parameter<?>> paramSet)CurrentState(StateName currentStateName, Setup command)A Java helper method to create a CurrentState from a Setup
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CurrentStateapply(Prefix prefix, StateName stateName, scala.collection.immutable.Set<Parameter<?>> paramSet)A helper method to create CurrentStateprotected CurrentStatecreate(scala.collection.immutable.Set<Parameter<?>> data)Create a new CurrentState instance when a parameter is added or removedscala.collection.immutable.Set<Parameter<?>>paramSet()Holds the parameters for this parameter setPrefixprefix()Returns an object providing the subsystem and prefix for the parameter setStateNamestateName()identifies the name of the state- 
Methods inherited from class csw.params.core.generics.ParameterSetTypeadd, apply, contains, dataToString, exists, find, get, get, getStringMap, jFind, jGet, jGet, jGetStringMap, jMissingKeys, jMissingKeys, jParamSet, madd, madd, madd, missingKeys, parameter, remove, remove, size, toString, typeName
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface csw.params.core.generics.ParameterSetKeyDataprefixStr, subsystem, toString
 - 
Methods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
 - 
Methods inherited from interface csw.params.core.states.StateVariabletoString, typeName
 
- 
 
- 
- 
- 
Constructor Detail- 
CurrentStatepublic CurrentState(Prefix prefix, StateName stateName, scala.collection.immutable.Set<Parameter<?>> paramSet) 
 - 
CurrentStatepublic CurrentState(Prefix prefix, StateName currentStateName) A Java helper method to construct with String- Parameters:
- prefix- (undocumented)
- currentStateName- (undocumented)
 
 
- 
 - 
Method Detail- 
applypublic 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
 
 - 
prefixpublic Prefix prefix() Description copied from interface:ParameterSetKeyDataReturns an object providing the subsystem and prefix for the parameter set- Specified by:
- prefixin interface- ParameterSetKeyData
- Specified by:
- prefixin interface- StateVariable
- Returns:
- (undocumented)
 
 - 
stateNamepublic StateName stateName() Description copied from interface:StateVariableidentifies the name of the state- Specified by:
- stateNamein interface- StateVariable
- Returns:
- (undocumented)
 
 - 
paramSetpublic scala.collection.immutable.Set<Parameter<?>> paramSet() Description copied from class:ParameterSetTypeHolds the parameters for this parameter set- Specified by:
- paramSetin interface- StateVariable
- Specified by:
- paramSetin class- ParameterSetType<CurrentState>
- Returns:
- (undocumented)
 
 - 
createprotected CurrentState create(scala.collection.immutable.Set<Parameter<?>> data) Create a new CurrentState instance when a parameter is added or removed- Specified by:
- createin class- ParameterSetType<CurrentState>
- Parameters:
- data- set of parameters
- Returns:
- a new instance of CurrentState with provided data
 
 
- 
 
-