Package org.apache.shenyu.common.enums
Enum ConfigGroupEnum
- java.lang.Object
-
- java.lang.Enum<ConfigGroupEnum>
-
- org.apache.shenyu.common.enums.ConfigGroupEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConfigGroupEnum>
public enum ConfigGroupEnum extends java.lang.Enum<ConfigGroupEnum>
configuration group.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigGroupEnumacquireByName(java.lang.String name)Acquire by name config group enum.static ConfigGroupEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConfigGroupEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APP_AUTH
public static final ConfigGroupEnum APP_AUTH
App auth config group enum.
-
PLUGIN
public static final ConfigGroupEnum PLUGIN
Plugin config group enum.
-
RULE
public static final ConfigGroupEnum RULE
Rule config group enum.
-
SELECTOR
public static final ConfigGroupEnum SELECTOR
Selector config group enum.
-
META_DATA
public static final ConfigGroupEnum META_DATA
Meta data config group enum.
-
-
Method Detail
-
values
public static ConfigGroupEnum[] 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 (ConfigGroupEnum c : ConfigGroupEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigGroupEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
acquireByName
public static ConfigGroupEnum acquireByName(java.lang.String name)
Acquire by name config group enum.- Parameters:
name- the name- Returns:
- the config group enum
-
-