Enum PortalJobStatus

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

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

    • IN_PROGRESS

      public static final PortalJobStatus IN_PROGRESS
      Indicates that there has been a change to the job, but that it has not been signed by all signers yet. For details about the state, see the status of each signer. When the client confirms a job with this status, the job is removed from the queue and will not be returned upon subsequent polling, until the status has changed again.
    • COMPLETED_SUCCESSFULLY

      public static final PortalJobStatus COMPLETED_SUCCESSFULLY
      Indicates that the signature job has completed successfully with signatures from all signers. When the client confirms a job with this status, the job and its associated resources will become unavailable through the Signature API.
    • FAILED

      public static final PortalJobStatus FAILED
      Indicates that the signature job failed. For details about the failure, see the status of each signer. When the client confirms a job with this status, the job and its associated resources will become unavailable through the Signature API.
    • NO_CHANGES

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

    • values

      public static PortalJobStatus[] 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 PortalJobStatus 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 PortalJobStatus fromXmlType(no.digipost.signature.api.xml.XMLPortalSignatureJobStatus xmlJobStatus)