Enum Class StandardComparison
java.lang.Object
java.lang.Enum<StandardComparison>
me.lucko.luckperms.common.bulkupdate.comparison.StandardComparison
- All Implemented Interfaces:
Serializable,Comparable<StandardComparison>,java.lang.constant.Constable,Comparison
An enumeration of standard
Comparisons.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface me.lucko.luckperms.common.bulkupdate.comparison.Comparison
Comparison.CompiledExpression -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidappendSql(PreparedStatementBuilder builder) Returns the comparison operator in SQL formGets the symbol which represents this comparisonstatic StandardComparisontoString()static StandardComparisonReturns the enum constant of this class with the specified name.static StandardComparison[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfMethods inherited from interface me.lucko.luckperms.common.bulkupdate.comparison.Comparison
compile
-
Enum Constant Details
-
EQUAL
-
NOT_EQUAL
-
SIMILAR
-
NOT_SIMILAR
-
-
Field Details
-
WILDCARD
- See Also:
-
WILDCARD_ONE
- See Also:
-
-
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
-
getSymbol
Description copied from interface:ComparisonGets the symbol which represents this comparison- Specified by:
getSymbolin interfaceComparison- Returns:
- the comparison symbol
-
appendSql
Description copied from interface:ComparisonReturns the comparison operator in SQL form- Specified by:
appendSqlin interfaceComparison
-
toString
- Overrides:
toStringin classEnum<StandardComparison>
-
parseComparison
-