@Immutable public final class RunDetailsImpl extends Object implements RunDetails
MAXIMUM_MESSAGE_LENGTH| Constructor and Description |
|---|
RunDetailsImpl(Date startTime,
RunOutcome runOutcome,
long durationInMillis,
String message) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
toString() |
public RunDetailsImpl(Date startTime, RunOutcome runOutcome, long durationInMillis, @Nullable String message)
@Nonnull public Date getStartTime()
RunDetailsgetStartTime in interface RunDetailspublic long getDurationInMillis()
RunDetailsgetDurationInMillis in interface RunDetails@Nonnull public RunOutcome getRunOutcome()
RunDetailsgetRunOutcome in interface RunDetails@Nonnull public String getMessage()
RunDetailsnull.getMessage in interface RunDetailsCopyright © 2017 Atlassian. All rights reserved.