Enum DirectJobStatus
- java.lang.Object
-
- java.lang.Enum<DirectJobStatus>
-
- no.digipost.signature.client.direct.DirectJobStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<DirectJobStatus>
public enum DirectJobStatus extends Enum<DirectJobStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETED_SUCCESSFULLY
All signers have successfully signed the document.FAILED
All signers have performed an action to the document, but at least one have a non successful status (e.g.IN_PROGRESS
At least one signer has not yet performed any action to the document.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 DirectJobStatus
fromXmlType(no.digipost.signature.api.xml.XMLDirectSignatureJobStatus xmlJobStatus)
static DirectJobStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static DirectJobStatus[]
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 DirectJobStatus IN_PROGRESS
At least one signer has not yet performed any action to the document. For details about the state, see thestatus
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 Detail
-
values
public static DirectJobStatus[] 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 (DirectJobStatus c : DirectJobStatus.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
fromXmlType
public static DirectJobStatus fromXmlType(no.digipost.signature.api.xml.XMLDirectSignatureJobStatus xmlJobStatus)
-
-