public abstract class AbstractJobDetails extends Object implements JobDetails
JobDetails.| Modifier and Type | Field and Description |
|---|---|
protected JobId |
jobId |
protected JobRunnerKey |
jobRunnerKey |
protected RunMode |
runMode |
protected Schedule |
schedule |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJobDetails(JobId jobId,
JobRunnerKey jobRunnerKey,
RunMode runMode,
Schedule schedule,
Date nextRunTime,
byte[] rawParameters) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
appendToStringDetails(StringBuilder sb) |
JobId |
getJobId() |
JobRunnerKey |
getJobRunnerKey() |
Date |
getNextRunTime() |
byte[] |
getRawParameters()
Returns the raw bytes from the job's parameters.
|
RunMode |
getRunMode() |
Schedule |
getSchedule() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, isRunnableprotected final JobId jobId
protected final JobRunnerKey jobRunnerKey
protected final RunMode runMode
protected final Schedule schedule
@Nonnull public final JobId getJobId()
getJobId in interface JobDetails@Nonnull public final JobRunnerKey getJobRunnerKey()
getJobRunnerKey in interface JobDetails@Nonnull public final RunMode getRunMode()
getRunMode in interface JobDetails@Nonnull public Schedule getSchedule()
getSchedule in interface JobDetails@Nullable public Date getNextRunTime()
getNextRunTime in interface JobDetails@Nullable public final byte[] getRawParameters()
This is not part of the public API. It is intended for the persistence layer to use for accessing the raw parameters and/or a troubleshooting tool for a management interface to use. For example, it might try to deserialize the map with the application's class loader or read the raw serialization data to show the administrator whatever information can be pulled out of it.
null if the parameter map
was empty.protected abstract void appendToStringDetails(StringBuilder sb)
Copyright © 2018 Atlassian. All rights reserved.