Package org.verapdf.processor
Interface TaskResult
public interface TaskResult
Interface that encapsulates the details of the result of a veraPDF task.
- Version:
- 0.1 Created 30 Oct 2016:13:42:47
- Author:
- Carl Wilson carlwilson AT github
-
Method Summary
-
Method Details
-
isExecuted
boolean isExecuted()- Returns:
- true if the task was executed false otherwise
-
isSuccess
boolean isSuccess()- Returns:
- true if the task was successful, false otherwise
-
getType
TaskType getType()- Returns:
- the
TaskType
of the task executed
-
getException
VeraPDFException getException()- Returns:
- any exception thrown by an unsuccessful task
-
getDuration
AuditDuration getDuration()- Returns:
- the
AuditDuration
for the task
-