Package csw.params.commands
Interface Command
- All Known Subinterfaces:
ControlCommand
,SequenceCommand
public interface Command
Common trait representing commands in TMT like Setup, Observe and Wait
-
Method Summary
Modifier and TypeMethodDescriptionThe name of commandA Java helper to acsess optional obsIdscala.Option<ObsId>
An optional obsId for commandscala.collection.immutable.Set<Parameter<?>>
paramSet()
An optional initial set of parameters (keys with values)A helper to give access of public members of ParameterSetTypesource()
Prefix representing source of the commandtoString()
A common toString method for all concrete implementationtypeName()
A name identifying the type of parameter set, such as "setup", "observe".
-
Method Details
-
commandName
CommandName commandName()The name of command- Returns:
- (undocumented)
-
jMaybeObsId
A Java helper to acsess optional obsId- Returns:
- an Optional of ObsId
-
maybeObsId
scala.Option<ObsId> maybeObsId()An optional obsId for command- Returns:
- (undocumented)
-
paramSet
scala.collection.immutable.Set<Parameter<?>> paramSet()An optional initial set of parameters (keys with values)- Returns:
- (undocumented)
-
paramType
ParameterSetType<?> paramType()A helper to give access of public members of ParameterSetType- Returns:
- a handle to ParameterSetType extended by concrete implementation of this class
-
source
Prefix source()Prefix representing source of the command- Returns:
- (undocumented)
-
toString
String toString()A common toString method for all concrete implementation -
typeName
String typeName()A name identifying the type of parameter set, such as "setup", "observe". This is used in toString output and while de-serializing from JSON.- Returns:
- a string representation of concrete type of this class
-