Package org.apache.shenyu.common.enums
Enum DataEventTypeEnum
- java.lang.Object
-
- java.lang.Enum<DataEventTypeEnum>
-
- org.apache.shenyu.common.enums.DataEventTypeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataEventTypeEnum>
public enum DataEventTypeEnum extends java.lang.Enum<DataEventTypeEnum>
The enum Data event type.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataEventTypeEnumacquireByName(java.lang.String name)Acquire by name data event type enum.static DataEventTypeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataEventTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETE
public static final DataEventTypeEnum DELETE
delete event.
-
CREATE
public static final DataEventTypeEnum CREATE
insert event.
-
UPDATE
public static final DataEventTypeEnum UPDATE
update event.
-
REFRESH
public static final DataEventTypeEnum REFRESH
REFRESH data event type enum.
-
MYSELF
public static final DataEventTypeEnum MYSELF
Myself data event type enum.
-
-
Method Detail
-
values
public static DataEventTypeEnum[] 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 (DataEventTypeEnum c : DataEventTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataEventTypeEnum 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 DataEventTypeEnum acquireByName(java.lang.String name)
Acquire by name data event type enum.- Parameters:
name- the name- Returns:
- the data event type enum
-
-