Class LoggerLevelOption

java.lang.Object
edu.wisc.ssec.mcidasv.startupmanager.options.AbstractOption
edu.wisc.ssec.mcidasv.startupmanager.options.LoggerLevelOption
All Implemented Interfaces:
Option

public class LoggerLevelOption extends AbstractOption
Representation of a choice allowing the user to select the global McIDAS-V logging level.
  • Field Details

    • TRACE

      private static final String TRACE
      String representation of Logback's "TRACE" logging level.
    • DEBUG

      private static final String DEBUG
      String representation of Logback's "DEBUG" logging level.
    • INFO

      private static final String INFO
      String representation of Logback's "INFO" logging level.
    • WARN

      private static final String WARN
      String representation of Logback's "WARN" logging level.
    • ERROR

      private static final String ERROR
      String representation of Logback's "ERROR" logging level.
    • OFF

      private static final String OFF
      String representation of Logback's "OFF" logging level.
    • comboBox

      JComboBox that will eventually contain logging levels to select. May be null.
    • currentChoice

      String representation of the user's selection, or the default value provided to the constructor.
  • Constructor Details

    • LoggerLevelOption

      public LoggerLevelOption(String id, String label, String defaultValue, OptionMaster.OptionPlatform optionPlatform, OptionMaster.Visibility optionVisibility)
      Create a startup option that allows the user to manipulate the global McIDAS-V logging level. NOTE: null is not a permitted value for any of this constructor's parameters.
      Parameters:
      id - Identifier for this startup option.
      label - Brief description suitable for a GUI label.
      defaultValue - Default value for this startup option.
      optionPlatform - Platforms where this option may be applied.
      optionVisibility - Whether or not the option is presented via the GUI.
      Throws:
      IllegalArgumentException - if defaultValue failed isValidValue(String).
  • Method Details