Interface TaskResult
- All Known Implementing Classes:
TaskResultImpl
public interface TaskResult
This class define the result of a step.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the duration of the step.Get the error message.Get the exception.booleanTest the result of the step is successful.
-
Method Details
-
getDuration
long getDuration()Get the duration of the step.- Returns:
- duration in milliseconds
-
isSuccess
boolean isSuccess()Test the result of the step is successful.- Returns:
- Returns the success
-
getException
Throwable getException()Get the exception.- Returns:
- Returns the exception
-
getErrorMessage
String getErrorMessage()Get the error message.- Returns:
- Returns the errorMessage
-