Package org.evrete.dsl.annotation
Enum RuleSet.Sort
- java.lang.Object
-
- java.lang.Enum<RuleSet.Sort>
-
- org.evrete.dsl.annotation.RuleSet.Sort
-
- All Implemented Interfaces:
Serializable,Comparable<RuleSet.Sort>
- Enclosing class:
- RuleSet
public static enum RuleSet.Sort extends Enum<RuleSet.Sort>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BY_NAMEBY_NAME_INVERSE
-
Field Summary
Fields Modifier and Type Field Description static RuleSet.SortDEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetModifier()static RuleSet.SortvalueOf(String name)Returns the enum constant of this type with the specified name.static RuleSet.Sort[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BY_NAME
public static final RuleSet.Sort BY_NAME
-
BY_NAME_INVERSE
public static final RuleSet.Sort BY_NAME_INVERSE
-
-
Field Detail
-
DEFAULT
public static final RuleSet.Sort DEFAULT
-
-
Method Detail
-
values
public static RuleSet.Sort[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RuleSet.Sort c : RuleSet.Sort.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuleSet.Sort valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getModifier
public int getModifier()
-
-