Package me.nabdev.oxconfig
Enum Class OxConfig.EditMode
- All Implemented Interfaces:
Serializable
,Comparable<OxConfig.EditMode>
,Constable
- Enclosing class:
- OxConfig
Different modes for editing
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly editing from the config file is allowedNo editing allowed, primarily for use during competitionEditing from the config file and NT Interface (AdvantageScope-3044) is allowed, default -
Method Summary
Modifier and TypeMethodDescriptionstatic OxConfig.EditMode
Returns the enum constant of this class with the specified name.static OxConfig.EditMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Locked
No editing allowed, primarily for use during competition -
FileOnly
Only editing from the config file is allowed -
Unrestricted
Editing from the config file and NT Interface (AdvantageScope-3044) is allowed, default
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-