|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PublicApi public interface RunDetails
A report of the result from a specific attempt to run a job. The job status may optionally also include
a status message for informational or troubleshooting reasons.
| Field Summary | |
|---|---|
static int |
MAXIMUM_MESSAGE_LENGTH
The maximum length that is permitted for the message string returned in a JobRunnerResponse. |
| Method Summary | |
|---|---|
long |
getDurationInMillis()
Returns the duration (in milliseconds) that the job took to complete. |
String |
getMessage()
Returns any additional message that the job would like to report about this job run. |
RunOutcome |
getRunOutcome()
Returns the overall result of the job |
Date |
getStartTime()
Returns the starting time of this job run. |
| Field Detail |
|---|
static final int MAXIMUM_MESSAGE_LENGTH
JobRunnerResponse.
Any return value that exceeds this length (255 chars) is silently truncated.
| Method Detail |
|---|
@Nonnull Date getStartTime()
long getDurationInMillis()
@Nonnull RunOutcome getRunOutcome()
@Nonnull String getMessage()
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||