Package org.apache.shenyu.common.enums
Enum AdminPluginOperateEnum
- java.lang.Object
-
- java.lang.Enum<AdminPluginOperateEnum>
-
- org.apache.shenyu.common.enums.AdminPluginOperateEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AdminPluginOperateEnum>
public enum AdminPluginOperateEnum extends java.lang.Enum<AdminPluginOperateEnum>
the menu for plugin operate button.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDadd operate.DELETEdelete operate.EDITedit operate.QUERYquery operate.SYNCHRONIZEmodify operate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()get name.static AdminPluginOperateEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AdminPluginOperateEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final AdminPluginOperateEnum ADD
add operate.
-
DELETE
public static final AdminPluginOperateEnum DELETE
delete operate.
-
EDIT
public static final AdminPluginOperateEnum EDIT
edit operate.
-
QUERY
public static final AdminPluginOperateEnum QUERY
query operate.
-
SYNCHRONIZE
public static final AdminPluginOperateEnum SYNCHRONIZE
modify operate.
-
-
Method Detail
-
values
public static AdminPluginOperateEnum[] 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 (AdminPluginOperateEnum c : AdminPluginOperateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdminPluginOperateEnum 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
-
getName
public java.lang.String getName()
get name.- Returns:
- name
-
-