Package io.mosip.mimoto.constant
Enum EventName
- java.lang.Object
-
- java.lang.Enum<EventName>
-
- io.mosip.mimoto.constant.EventName
-
- All Implemented Interfaces:
Serializable,Comparable<EventName>
public enum EventName extends Enum<EventName>
The Enum EventName.- Author:
- Ranjitha
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDThe save.ARCHIVE_PACKETSThe archive packets.AUTHENTICATIONThe authentication.DELETEThe delete.EXCEPTIONThe exception.GETThe get.TRIGGERThe Trigger.UPDATEThe update.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventNamevalueOf(String name)Returns the enum constant of this type with the specified name.static EventName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET
public static final EventName GET
The get.
-
UPDATE
public static final EventName UPDATE
The update.
-
DELETE
public static final EventName DELETE
The delete.
-
ARCHIVE_PACKETS
public static final EventName ARCHIVE_PACKETS
The archive packets.
-
EXCEPTION
public static final EventName EXCEPTION
The exception.
-
AUTHENTICATION
public static final EventName AUTHENTICATION
The authentication.
-
ADD
public static final EventName ADD
The save.
-
TRIGGER
public static final EventName TRIGGER
The Trigger.
-
-
Method Detail
-
values
public static EventName[] 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 (EventName c : EventName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventName valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-