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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuditDuration
getDuration()
VeraPDFException
getException()
TaskType
getType()
boolean
isExecuted()
boolean
isSuccess()
-
-
-
Method Detail
-
isExecuted
boolean isExecuted()
- Returns:
- true if the task was executed false otherwise
-
isSuccess
boolean isSuccess()
- Returns:
- true if the task was successful, false otherwise
-
getException
VeraPDFException getException()
- Returns:
- any exception thrown by an unsuccessful task
-
getDuration
AuditDuration getDuration()
- Returns:
- the
AuditDuration
for the task
-
-