public static enum RuleManager.RuleDefinitionSource extends Enum<RuleManager.RuleDefinitionSource>
| Enum Constant and Description |
|---|
MANUAL
rule defined by admin web interface or through custom code
|
SPRING
rule defined in the spring context that created the router
|
| Modifier and Type | Method and Description |
|---|---|
static RuleManager.RuleDefinitionSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleManager.RuleDefinitionSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleManager.RuleDefinitionSource SPRING
public static final RuleManager.RuleDefinitionSource MANUAL
public static RuleManager.RuleDefinitionSource[] values()
for (RuleManager.RuleDefinitionSource c : RuleManager.RuleDefinitionSource.values()) System.out.println(c);
public static RuleManager.RuleDefinitionSource 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 © 2019. All Rights Reserved.