public enum RuleScope extends Enum<RuleScope>
A category for abstract instances that can be applied to rule's left-hand side (LHS, selection and condition), right-hand side (RHS, or action) or both. A class import, for example, can apply to either of these enum types.
| Modifier and Type | Method and Description |
|---|---|
static RuleScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleScope LHS
public static final RuleScope RHS
public static final RuleScope BOTH
public static RuleScope[] values()
for (RuleScope c : RuleScope.values()) System.out.println(c);
public static RuleScope valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.