Class ManagedScheduledSimpleJob

  • All Implemented Interfaces:
    ManagedScheduledJob, ScheduledJob

    public class ManagedScheduledSimpleJob
    extends AbstractManagedScheduledJob
    Managed job definition for interval based jobs.

    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 Summary

      Constructors 
      Constructor 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​(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, boolean clusteredOnly)
      For atlassian-scheduler.
      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, boolean clusteredOnly, boolean disabledByDefault)
      For atlassian-scheduler.
      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, boolean clusteredOnly, long lockWaitTime, TimeoutPolicy timeoutPolicy)
      For atlassian-scheduler.
      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, boolean clusteredOnly, long lockWaitTime, TimeoutPolicy timeoutPolicy, boolean disabledByDefault)
      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.
      ManagedScheduledSimpleJob​(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable, boolean clusteredOnly)
      For atlassian-scheduler.
      ManagedScheduledSimpleJob​(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable, boolean clusteredOnly, long lockWaitTime, TimeoutPolicy timeoutPolicy)
      For atlassian-scheduler.
      ManagedScheduledSimpleJob​(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, int repeatCount, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable)
      For atlassian-scheduler.
      ManagedScheduledSimpleJob​(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, int repeatCount, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable, boolean clusteredOnly)
      For atlassian-scheduler.
      ManagedScheduledSimpleJob​(String id, com.atlassian.scheduler.JobRunner jobRunner, boolean runOncePerCluster, long repeatInterval, int repeatCount, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable, boolean clusteredOnly, long lockWaitTime, TimeoutPolicy timeoutPolicy)
      For atlassian-scheduler.
    • Constructor Detail

      • ManagedScheduledSimpleJob

        public ManagedScheduledSimpleJob​(String id,
                                         com.atlassian.scheduler.JobRunner jobRunner,
                                         boolean runOncePerCluster,
                                         long repeatInterval,
                                         boolean editable,
                                         boolean keepingHistory,
                                         boolean canRunAdhoc,
                                         boolean canDisable)
        For atlassian-scheduler. id is used for both JobId and JobRunnerKey.
      • ManagedScheduledSimpleJob

        public ManagedScheduledSimpleJob​(String id,
                                         com.atlassian.scheduler.JobRunner jobRunner,
                                         boolean runOncePerCluster,
                                         long repeatInterval,
                                         int repeatCount,
                                         boolean editable,
                                         boolean keepingHistory,
                                         boolean canRunAdhoc,
                                         boolean canDisable)
        For atlassian-scheduler. id is used for both JobId and JobRunnerKey.
      • ManagedScheduledSimpleJob

        public ManagedScheduledSimpleJob​(String id,
                                         com.atlassian.scheduler.JobRunner jobRunner,
                                         boolean runOncePerCluster,
                                         long repeatInterval,
                                         boolean editable,
                                         boolean keepingHistory,
                                         boolean canRunAdhoc,
                                         boolean canDisable,
                                         boolean clusteredOnly)
        For atlassian-scheduler. id is used for both JobId and JobRunnerKey.
      • ManagedScheduledSimpleJob

        public ManagedScheduledSimpleJob​(String id,
                                         com.atlassian.scheduler.JobRunner jobRunner,
                                         boolean runOncePerCluster,
                                         long repeatInterval,
                                         boolean editable,
                                         boolean keepingHistory,
                                         boolean canRunAdhoc,
                                         boolean canDisable,
                                         boolean clusteredOnly,
                                         long lockWaitTime,
                                         TimeoutPolicy timeoutPolicy)
        For atlassian-scheduler. id is used for both JobId and JobRunnerKey.
      • ManagedScheduledSimpleJob

        public ManagedScheduledSimpleJob​(String id,
                                         com.atlassian.scheduler.JobRunner jobRunner,
                                         boolean runOncePerCluster,
                                         long repeatInterval,
                                         int repeatCount,
                                         boolean editable,
                                         boolean keepingHistory,
                                         boolean canRunAdhoc,
                                         boolean canDisable,
                                         boolean clusteredOnly)
        For atlassian-scheduler. id is used for both JobId and JobRunnerKey.
      • ManagedScheduledSimpleJob

        public ManagedScheduledSimpleJob​(String id,
                                         com.atlassian.scheduler.JobRunner jobRunner,
                                         boolean runOncePerCluster,
                                         long repeatInterval,
                                         int repeatCount,
                                         boolean editable,
                                         boolean keepingHistory,
                                         boolean canRunAdhoc,
                                         boolean canDisable,
                                         boolean clusteredOnly,
                                         long lockWaitTime,
                                         TimeoutPolicy timeoutPolicy)
        For atlassian-scheduler. id is used for both JobId and JobRunnerKey.
      • ManagedScheduledSimpleJob

        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)
        For atlassian-scheduler.
      • ManagedScheduledSimpleJob

        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,
                                         boolean clusteredOnly)
        For atlassian-scheduler.
      • ManagedScheduledSimpleJob

        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,
                                         boolean clusteredOnly,
                                         boolean disabledByDefault)
        For atlassian-scheduler.
      • ManagedScheduledSimpleJob

        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,
                                         boolean clusteredOnly,
                                         long lockWaitTime,
                                         TimeoutPolicy timeoutPolicy)
        For atlassian-scheduler.
      • ManagedScheduledSimpleJob

        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,
                                         boolean clusteredOnly,
                                         long lockWaitTime,
                                         TimeoutPolicy timeoutPolicy,
                                         boolean disabledByDefault)
        For atlassian-scheduler.