Package io.mosip.mimoto.constant
Enum PlatformSuccessMessages
- java.lang.Object
-
- java.lang.Enum<PlatformSuccessMessages>
-
- io.mosip.mimoto.constant.PlatformSuccessMessages
-
- All Implemented Interfaces:
Serializable,Comparable<PlatformSuccessMessages>
public enum PlatformSuccessMessages extends Enum<PlatformSuccessMessages>
- Author:
- M1048399 Horteppa
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RPR_MIMOTO_SERVICE_SUCCESSRPR_PUM_PACKET_ARCHIVED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Gets the code.StringgetMessage()Gets the message.static PlatformSuccessMessagesvalueOf(String name)Returns the enum constant of this type with the specified name.static PlatformSuccessMessages[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RPR_PUM_PACKET_ARCHIVED
public static final PlatformSuccessMessages RPR_PUM_PACKET_ARCHIVED
-
RPR_MIMOTO_SERVICE_SUCCESS
public static final PlatformSuccessMessages RPR_MIMOTO_SERVICE_SUCCESS
-
-
Method Detail
-
values
public static PlatformSuccessMessages[] 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 (PlatformSuccessMessages c : PlatformSuccessMessages.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlatformSuccessMessages 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
-
getMessage
public String getMessage()
Gets the message.- Returns:
- the message
-
getCode
public String getCode()
Gets the code.- Returns:
- the code
-
-