Package csw.params.commands
Class Observe$
- java.lang.Object
-
- csw.params.commands.Observe$
-
- All Implemented Interfaces:
java.io.Serializable
public class Observe$ extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Observe$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Observe
apply(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId)
The apply method is used to create Observe command by end-user.Observe
apply(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId, scala.collection.immutable.Set<Parameter<?>> paramSet)
The apply method is used to create Observe command by end-user.
-
-
-
Field Detail
-
MODULE$
public static final Observe$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public Observe apply(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId)
The apply method is used to create Observe command by end-user.- Parameters:
source
- prefix representing source of the commandcommandName
- the name of the commandmaybeObsId
- an optional obsId for command- Returns:
- a new instance of Observe with empty paramSet
-
apply
public Observe apply(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId, scala.collection.immutable.Set<Parameter<?>> paramSet)
The apply method is used to create Observe command by end-user.- 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 Observe
-
-