Enum Class InvalidExpressionException.Issue.Severity
java.lang.Object
java.lang.Enum<InvalidExpressionException.Issue.Severity>
io.github.brantunger.unruly.api.exception.InvalidExpressionException.Issue.Severity
- All Implemented Interfaces:
Serializable,Comparable<InvalidExpressionException.Issue.Severity>,Constable
- Enclosing class:
InvalidExpressionException.Issue
public static enum InvalidExpressionException.Issue.Severity
extends Enum<InvalidExpressionException.Issue.Severity>
Whether an issue stops an expression compiling.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR
The expression can't be compiled. -
WARNING
The expression compiles, but may not do what its author meant.
-
-
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
-