Interface Command

All Known Subinterfaces:
ControlCommand, SequenceCommand
All Known Implementing Classes:
Observe, Setup, Wait

public interface Command
Common trait representing commands in TMT like Setup, Observe and Wait
  • Method Details

    • commandName

      CommandName commandName()
      The name of command
      Returns:
      (undocumented)
    • jMaybeObsId

      Optional<ObsId> 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

      Overrides:
      toString in class Object
      Returns:
      the string representation of command
    • 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