public class ManagedScheduledSimpleJob extends AbstractManagedScheduledJob
If your job is only meaningful in clustered environment, use the constructor
that can set clusteredOnly
to true
so that your job won't be
scheduled in non-clustered environments.
Constructor and Description |
---|
ManagedScheduledSimpleJob(com.atlassian.scheduler.config.JobId jobId,
com.atlassian.scheduler.JobRunner jobRunner,
com.atlassian.scheduler.config.JobConfig jobConfig,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable)
For atlassian-scheduler.
|
ManagedScheduledSimpleJob(String id,
com.atlassian.scheduler.JobRunner jobRunner,
boolean runOncePerCluster,
long repeatInterval,
boolean editable,
boolean keepingHistory,
boolean canRunAdhoc,
boolean canDisable)
For atlassian-scheduler.
|
Modifier and Type | Method and Description |
---|---|
Long |
getDefaultRepeatInterval() |
canDisable, canRunAdhoc, equals, getJobConfig, getJobId, getJobRunner, hashCode, isEditable, isKeepingHistory, toString
public ManagedScheduledSimpleJob(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable)
id
is used for both JobId
and JobRunnerKey
.public ManagedScheduledSimpleJob(com.atlassian.scheduler.config.JobId jobId, com.atlassian.scheduler.JobRunner jobRunner, com.atlassian.scheduler.config.JobConfig jobConfig, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable)
public Long getDefaultRepeatInterval()
Copyright © 2003–2017 Atlassian. All rights reserved.