Enum DirectJobStatus

java.lang.Object
java.lang.Enum<DirectJobStatus>
no.digipost.signature.client.direct.DirectJobStatus
All Implemented Interfaces:
Serializable, Comparable<DirectJobStatus>, java.lang.constant.Constable

public enum DirectJobStatus extends Enum<DirectJobStatus>
  • Enum Constant Details

    • IN_PROGRESS

      public static final DirectJobStatus IN_PROGRESS
      At least one signer has not yet performed any action to the document. For details about the state, see the status of each signer.
      See Also:
      • XMLDirectSignatureJobStatus.IN_PROGRESS
    • COMPLETED_SUCCESSFULLY

      public static final DirectJobStatus COMPLETED_SUCCESSFULLY
      All signers have successfully signed the document.
      See Also:
      • XMLDirectSignatureJobStatus.COMPLETED_SUCCESSFULLY
    • FAILED

      public static final DirectJobStatus FAILED
      All signers have performed an action to the document, but at least one have a non successful status (e.g. rejected, expired or failed).
      See Also:
      • XMLDirectSignatureJobStatus.FAILED
    • NO_CHANGES

      public static final DirectJobStatus NO_CHANGES
      There has not been any changes since the last received status change.
  • Method Details

    • values

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

      public static DirectJobStatus 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 name
      NullPointerException - if the argument is null
    • fromXmlType

      public static DirectJobStatus fromXmlType(no.digipost.signature.api.xml.XMLDirectSignatureJobStatus xmlJobStatus)