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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getDuration()
Get the duration of the step.String
getErrorMessage()
Get the error message.Throwable
getException()
Get the exception.boolean
isSuccess()
Test the result of the step is successful.
-
-
-
Method Detail
-
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
-
-