Uses of Class
org.refcodes.cli.EnumOption
-
Uses of EnumOption in org.refcodes.cli
Methods in org.refcodes.cli that return EnumOptionModifier and TypeMethodDescriptionstatic <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(Character aShortOption, String aLongOption, Class<T> aType, String aDescription) Instantiates a newEnumOptionwith the given arguments.static <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(Character aShortOption, String aLongOption, Class<T> aType, String aAlias, String aDescription) Instantiates a newEnumOptionwith the given arguments.static <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(Character aShortOption, String aLongOption, Class<T> aType, String aAlias, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.static <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(Character aShortOption, String aLongOption, Class<T> aType, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.static <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(String aLongOption, Class<T> aType, String aDescription) Instantiates a newEnumOptionwith the given arguments.static <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(String aLongOption, Class<T> aType, String aAlias, String aDescription) Instantiates a newEnumOptionwith the given arguments.static <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(String aLongOption, Class<T> aType, String aAlias, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.static <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(String aLongOption, Class<T> aType, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.EnumOption.withVisible(boolean isVisible) Visibility in this context means displaying or hiding thisTerm's existence to the user (defaults totrue).Method parameters in org.refcodes.cli with type arguments of type EnumOptionModifier and TypeMethodDescriptionstatic <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(Character aShortOption, String aLongOption, Class<T> aType, String aAlias, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.static <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(Character aShortOption, String aLongOption, Class<T> aType, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.static <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(String aLongOption, Class<T> aType, String aAlias, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.static <T extends Enum<T>>
EnumOption<T>CliSugar.enumOption(String aLongOption, Class<T> aType, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.Constructor parameters in org.refcodes.cli with type arguments of type EnumOptionModifierConstructorDescriptionEnumOption(Character aShortOption, String aLongOption, Class<T> aType, String aAlias, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.EnumOption(Character aShortOption, String aLongOption, Class<T> aType, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.EnumOption(String aLongOption, Class<T> aType, String aAlias, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.EnumOption(String aLongOption, Class<T> aType, String aDescription, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the given arguments.EnumOption(org.refcodes.struct.Relation<String, T> aProperty, Class<T> aType, Consumer<EnumOption<T>> aConsumer) Instantiates a newEnumOptionwith the alias being the proerty's key and the value being the property's value.