Class Setup$

java.lang.Object
csw.params.commands.Setup$
All Implemented Interfaces:
Serializable

public class Setup$ extends Object implements Serializable
See Also:
  • Field Details

    • MODULE$

      public static final Setup$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • Setup$

      public Setup$()
  • Method Details

    • apply

      public Setup apply(Prefix source, CommandName commandName, scala.Option<ObsId> maybeObsId)
      The apply method is used to create Setup command by end-user.

      Parameters:
      source - prefix representing source of the command
      commandName - the name of the command
      maybeObsId - 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 command
      commandName - the name of the command
      maybeObsId - an optional obsId for command
      paramSet - an initial set of parameters (keys with values)
      Returns:
      a new instance of Setup