java.lang.Object
org.yamcs.CommandOption
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.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCommandOption(String id, String verboseName, CommandOption.CommandOptionType type) Create a new command option. -
Method Summary
-
Constructor Details
-
CommandOption
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