Enum Class EPPServerValValidation.Status

java.lang.Object
java.lang.Enum<EPPServerValValidation.Status>
com.verisign.epp.codec.serverval.v01.EPPServerValValidation.Status
All Implemented Interfaces:
Serializable, Comparable<EPPServerValValidation.Status>, Constable
Enclosing class:
EPPServerValValidation

public static enum EPPServerValValidation.Status extends Enum<EPPServerValValidation.Status>
Validation status enumeration with the values:
  • SUCCESS - Successful validation
  • FAILED - Failed validation
  • Enum Constant Details

  • Method Details

    • values

      public static EPPServerValValidation.Status[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EPPServerValValidation.Status valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getStatus

      public static EPPServerValValidation.Status getStatus(String aString)
      Get the status enumerated value given the matching string.
      Parameters:
      aString - Status enumerated string to convert to an enumerated Status instance.
      Returns:
      Enumerated Status value matching the String.
      Throws:
      InvalidParameterException - If aString does not match an enumerated Status string value.
    • toString

      public String toString()
      Convert the enumerated Status value to a String.
      Overrides:
      toString in class Enum<EPPServerValValidation.Status>