Uses of Class
org.yamcs.Spec.Option
Packages that use Spec.Option
-
Uses of Spec.Option in org.yamcs
Methods in org.yamcs that return Spec.OptionModifier and TypeMethodDescriptionSpec.addOption(String name, Spec.OptionType type) Add anSpec.Optionto this spec.Spec.Option.withAliases(String... aliases) Add aliases for this option.Spec.Option.withApplySpecDefaults(boolean applySpecDefaults) In case thetypeis set toSpec.OptionType.MAP, setting this property totruewill cause defaults within elements of that type to be applied even if the option itself is not defined.<T extends Enum<T>>
Spec.OptionSpec.Option.withChoices(Class<T> enumClass) Sets the allowed values of this option based on the states of an Enum.Spec.Option.withChoices(Object... choices) Sets the allowed values of this option.Spec.Option.withDefault(Object defaultValue) Sets the default value.Spec.Option.withDeprecationMessage(String deprecationMessage) Attach a deprecation message to this option.Spec.Option.withDescription(String... description) Spec.Option.withElementType(Spec.OptionType elementType) In case thetypeis set toSpec.OptionType.LISTorSpec.OptionType.LIST_OR_ELEMENTthe element type indicates the type of each element of that list.Spec.Option.withHidden(boolean hidden) Hint that this option should be hidden from UIs.Spec.Option.withRequired(boolean required) Set whether this option is required.Spec.Option.withSecret(boolean secret) Set whether this option is secret.In case thetypeor theelementTypeis set toSpec.OptionType.MAPthis specifies the options within that map.Spec.Option.withVersionAdded(String versionAdded) Which version of the software this specific option was added.Methods in org.yamcs that return types with arguments of type Spec.OptionMethods in org.yamcs with parameters of type Spec.Option