Enum Class OxConfig.EditMode

java.lang.Object
java.lang.Enum<OxConfig.EditMode>
me.nabdev.oxconfig.OxConfig.EditMode
All Implemented Interfaces:
Serializable, Comparable<OxConfig.EditMode>, Constable
Enclosing class:
OxConfig

public static enum OxConfig.EditMode extends Enum<OxConfig.EditMode>
Different modes for editing
  • Enum Constant Details

    • Locked

      public static final OxConfig.EditMode Locked
      No editing allowed, primarily for use during competition
    • FileOnly

      public static final OxConfig.EditMode FileOnly
      Only editing from the config file is allowed
    • Unrestricted

      public static final OxConfig.EditMode Unrestricted
      Editing from the config file and NT Interface (AdvantageScope-3044) is allowed, default
  • Method Details

    • values

      public static OxConfig.EditMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OxConfig.EditMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null