Class Observe$

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

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

    • MODULE$

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

    • Observe$

      public Observe$()
  • Method Details

    • 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 command
      commandName - the name of the command
      maybeObsId - 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 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 Observe