Class OptionInfo.ModeInfo

Enclosing class:
OptionInfo

public class OptionInfo.ModeInfo extends OptionInfo.ValueInfo<String>
Information for mode option values.
  • Constructor Details

    • ModeInfo

      public ModeInfo(String defaultValue, String currentValue, String[] modes)
      Constructs a ModeInfo instance with the specified default value, current value, and available mode options.
      Parameters:
      defaultValue - The default value.
      currentValue - The current value.
      modes - The possible mode values.
  • Method Details

    • getModes

      public String[] getModes()
      Get the list of valid mode values.
      Returns:
      An array of available mode options.