public enum RuleType extends Enum<RuleType>
AbstractRule class, using in
AbstractDataSourceProperties.ruleType.| Enum Constant and Description |
|---|
AUTHORITY
authority.
|
DEGRADE
degrade.
|
FLOW
flow.
|
GW_API_GROUP
api.
|
GW_FLOW
gateway flow.
|
PARAM_FLOW
param flow.
|
SYSTEM
system.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<RuleType> |
getByClass(Class clazz) |
static Optional<RuleType> |
getByName(String name) |
Class |
getClazz() |
String |
getName() |
static RuleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleType FLOW
public static final RuleType DEGRADE
public static final RuleType PARAM_FLOW
public static final RuleType SYSTEM
public static final RuleType AUTHORITY
public static final RuleType GW_FLOW
public static final RuleType GW_API_GROUP
public static RuleType[] values()
for (RuleType c : RuleType.values()) System.out.println(c);
public static RuleType 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 nullpublic String getName()
public Class getClazz()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.