Package csw.params.commands
Class Wait$
- java.lang.Object
-
- csw.params.commands.Wait$
-
- All Implemented Interfaces:
java.io.Serializable
public class Wait$ extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Wait$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Wait
apply(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId)
The apply method is used to create Wait command by end-user.Wait
apply(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId, scala.collection.immutable.Set<Parameter<?>> paramSet)
The apply method is used to create Wait command by end-user.
-
-
-
Field Detail
-
MODULE$
public static final Wait$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public Wait apply(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId)
The apply method is used to create Wait command by end-user. runId is not accepted and will be created internally to guarantee unique value.- Parameters:
source
- prefix representing source of the commandcommandName
- the name of the commandmaybeObsId
- an optional obsId for command- Returns:
- a new instance of Wait with auto-generated runId and empty paramSet
-
apply
public Wait apply(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId, scala.collection.immutable.Set<Parameter<?>> paramSet)
The apply method is used to create Wait command by end-user. runId is not accepted and will be created internally to guarantee unique value.- Parameters:
source
- prefix representing source of the commandcommandName
- the name of the commandmaybeObsId
- an optional obsId for commandparamSet
- an initial set of parameters (keys with values)- Returns:
- a new instance of Wait with auto-generated runId
-
-