Enum PartnerValidationsConstants
- java.lang.Object
-
- java.lang.Enum<PartnerValidationsConstants>
-
- io.mosip.pmp.partnermanagement.constant.PartnerValidationsConstants
-
- All Implemented Interfaces:
Serializable,Comparable<PartnerValidationsConstants>
public enum PartnerValidationsConstants extends Enum<PartnerValidationsConstants>
- Author:
- sanjeev.shrivastava
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()Getter for error code.StringgetErrorMessage()Getter for error message.static PartnerValidationsConstantsvalueOf(String name)Returns the enum constant of this type with the specified name.static PartnerValidationsConstants[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARTNER_NOT_ACTIVE_EXCEPTION
public static final PartnerValidationsConstants PARTNER_NOT_ACTIVE_EXCEPTION
-
PARTNER_NOT_MAPPED_TO_POLICY_EXCEPTION
public static final PartnerValidationsConstants PARTNER_NOT_MAPPED_TO_POLICY_EXCEPTION
-
PARTNER_POLICY_EXPIRED_EXCEPTION
public static final PartnerValidationsConstants PARTNER_POLICY_EXPIRED_EXCEPTION
-
PARTNER_POLICY_NOT_ACTIVE_EXCEPTION
public static final PartnerValidationsConstants PARTNER_POLICY_NOT_ACTIVE_EXCEPTION
-
MISP_LICENSE_KEY_NOT_EXISTS
public static final PartnerValidationsConstants MISP_LICENSE_KEY_NOT_EXISTS
-
MISP_LICENSE_KEY_EXPIRED
public static final PartnerValidationsConstants MISP_LICENSE_KEY_EXPIRED
-
POLICY_GROUP_NOT_EXISTS
public static final PartnerValidationsConstants POLICY_GROUP_NOT_EXISTS
-
POLICY_GROUP_NOT_ACTIVE
public static final PartnerValidationsConstants POLICY_GROUP_NOT_ACTIVE
-
POLICY_FILE_PARSING_ERROR
public static final PartnerValidationsConstants POLICY_FILE_PARSING_ERROR
-
MISP_IS_BLOCKED
public static final PartnerValidationsConstants MISP_IS_BLOCKED
-
PARTNER_APIKEY_POLICY_MAPPING_NOTEXISTS
public static final PartnerValidationsConstants PARTNER_APIKEY_POLICY_MAPPING_NOTEXISTS
-
POLICY_NOT_BELONGS_TO_PARTNER_POLICY_GROUP
public static final PartnerValidationsConstants POLICY_NOT_BELONGS_TO_PARTNER_POLICY_GROUP
-
-
Method Detail
-
values
public static PartnerValidationsConstants[] 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 (PartnerValidationsConstants c : PartnerValidationsConstants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PartnerValidationsConstants 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
-
getErrorCode
public String getErrorCode()
Getter for error code.- Returns:
- the error code.
-
getErrorMessage
public String getErrorMessage()
Getter for error message.- Returns:
- the error message.
-
-