public class DirectJobStatusResponse extends Object implements Confirmable
| Modifier and Type | Field and Description |
|---|---|
static DirectJobStatusResponse |
NO_UPDATED_STATUS
This instance indicates that there has been no status updates since the last poll request for
DirectJobStatusResponse. |
| Constructor and Description |
|---|
DirectJobStatusResponse(Long signatureJobId,
DirectJobStatus signatureJobStatus,
ConfirmationReference confirmationUrl,
List<Signature> signatures,
PAdESReference pAdESReference) |
| Modifier and Type | Method and Description |
|---|---|
ConfirmationReference |
getConfirmationReference() |
PAdESReference |
getpAdESUrl() |
Signature |
getSignatureFrom(String signer)
Gets the signature from a given signer.
|
long |
getSignatureJobId() |
List<Signature> |
getSignatures() |
DirectJobStatus |
getStatus() |
boolean |
is(DirectJobStatus status) |
boolean |
isPAdESAvailable() |
String |
toString() |
public static final DirectJobStatusResponse NO_UPDATED_STATUS
DirectJobStatusResponse. Its status is NO_CHANGES.public DirectJobStatusResponse(Long signatureJobId, DirectJobStatus signatureJobStatus, ConfirmationReference confirmationUrl, List<Signature> signatures, PAdESReference pAdESReference)
public long getSignatureJobId()
public DirectJobStatus getStatus()
public boolean is(DirectJobStatus status)
public boolean isPAdESAvailable()
public PAdESReference getpAdESUrl()
public Signature getSignatureFrom(String signer)
signer - a string referring to a signer of the job. It may be a personal identification number or
a custom signer reference, depending of how the signer was initially created
(using DirectSigner.withPersonalIdentificationNumber(String) or
DirectSigner.withCustomIdentifier(String)).IllegalArgumentException - if the job response doesn't contain a signature from this signergetSignatures()public ConfirmationReference getConfirmationReference()
getConfirmationReference in interface ConfirmableCopyright © 2018 Digipost. All rights reserved.