Package csw.params.commands
Class Setup$
java.lang.Object
csw.params.commands.Setup$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId) The apply method is used to create Setup command by end-user.apply
(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId, scala.collection.immutable.Set<Parameter<?>> paramSet) The apply method is used to create Setup command by end-user.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Setup$
public Setup$()
-
-
Method Details
-
apply
The apply method is used to create Setup 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 Setup with empty paramSet
-
apply
public Setup apply(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId, scala.collection.immutable.Set<Parameter<?>> paramSet) The apply method is used to create Setup 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 Setup
-