Enum PortalJobStatus
- java.lang.Object
-
- java.lang.Enum<PortalJobStatus>
-
- no.digipost.signature.client.portal.PortalJobStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<PortalJobStatus>
public enum PortalJobStatus extends Enum<PortalJobStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETED_SUCCESSFULLY
Indicates that the signature job has completed successfully with signatures from all signers.FAILED
Indicates that the signature job failed.IN_PROGRESS
Indicates that there has been a change to the job, but that it has not been signed by all signers yet.NO_CHANGES
There has not been any changes since the last received status change.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PortalJobStatus
fromXmlType(no.digipost.signature.api.xml.XMLPortalSignatureJobStatus xmlJobStatus)
static PortalJobStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static PortalJobStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 thestatus
of each signer. When the clientconfirms
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 clientconfirms
a job with this status, the job and its associated resources will become unavailable through the Signature API.
-
FAILED
public static final PortalJobStatus FAILED
-
NO_CHANGES
public static final PortalJobStatus NO_CHANGES
There has not been any changes since the last received status change.
-
-
Method Detail
-
values
public static PortalJobStatus[] 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 (PortalJobStatus c : PortalJobStatus.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
fromXmlType
public static PortalJobStatus fromXmlType(no.digipost.signature.api.xml.XMLPortalSignatureJobStatus xmlJobStatus)
-
-