@Immutable public class ImmutableClusteredJob extends Object implements ClusteredJob
ClusteredJob.| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableClusteredJob.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableClusteredJob.Builder |
builder() |
static ImmutableClusteredJob.Builder |
builder(ClusteredJob prototype) |
ImmutableClusteredJob.Builder |
copy()
Returns a new builder that is populated with the values from this immutable clustered job.
|
com.atlassian.scheduler.config.JobId |
getJobId() |
com.atlassian.scheduler.config.JobRunnerKey |
getJobRunnerKey() |
Date |
getNextRunTime() |
byte[] |
getRawParameters() |
com.atlassian.scheduler.config.Schedule |
getSchedule() |
long |
getVersion() |
String |
toString() |
public static ImmutableClusteredJob.Builder builder()
public static ImmutableClusteredJob.Builder builder(ClusteredJob prototype)
public ImmutableClusteredJob.Builder copy()
This convenience method is exactly equivalent to calling builder(ClusteredJob)
with this object as the parameter.
@Nonnull public com.atlassian.scheduler.config.JobId getJobId()
getJobId in interface ClusteredJob@Nonnull public com.atlassian.scheduler.config.JobRunnerKey getJobRunnerKey()
getJobRunnerKey in interface ClusteredJob@Nonnull public com.atlassian.scheduler.config.Schedule getSchedule()
getSchedule in interface ClusteredJob@Nullable public Date getNextRunTime()
getNextRunTime in interface ClusteredJobpublic long getVersion()
getVersion in interface ClusteredJob@Nullable public byte[] getRawParameters()
getRawParameters in interface ClusteredJobCopyright © 2019 Atlassian. All rights reserved.