Package org.yamcs

Class CommandOption

java.lang.Object
org.yamcs.CommandOption

public class CommandOption extends Object
A command option. Instances of this class should be registered once, system-wide, against an instance of YamcsServer. While not enforced, it is preferred to use a Plugin.onLoad(YConfiguration) hook as this will guarantee that the registration is done only once.
  • Constructor Details

    • CommandOption

      public CommandOption(String id, String verboseName, CommandOption.CommandOptionType type)
      Create a new command option.
      Parameters:
      id - a system-wide unique identifier for this option. This identifier will be used by clients when submitting commands, and will also be used for storage in Command History.
      verboseName - a human-readable name for this option. Used by UI clients.
      type - the expected type of option values. UI clients may use this to enforce specific controls.
  • Method Details