Class DelegatedDirectoryPruningJob

java.lang.Object
com.atlassian.labs.crowd.directory.pruning.jobs.DelegatedDirectoryPruningJob
All Implemented Interfaces:
com.atlassian.scheduler.JobRunner

@Named public class DelegatedDirectoryPruningJob extends Object implements com.atlassian.scheduler.JobRunner
  • Field Details

    • PRUNING_JOBRUNNER_KEY

      public static final com.atlassian.scheduler.config.JobRunnerKey PRUNING_JOBRUNNER_KEY
  • Constructor Details

    • DelegatedDirectoryPruningJob

      @Inject public DelegatedDirectoryPruningJob(com.atlassian.scheduler.SchedulerService schedulerService, DirectoryManager directoryManager, DirectoryInstanceLoader directoryInstanceLoader, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.beehive.ClusterLockService clusterLockService, com.atlassian.event.api.EventPublisher eventPublisher, PruningJobStatusService pruningJobStatusService)
  • Method Details

    • registerPruningJob

      @PostConstruct public void registerPruningJob() throws com.atlassian.scheduler.SchedulerServiceException
      Throws:
      com.atlassian.scheduler.SchedulerServiceException
    • onDestroy

      @PreDestroy public void onDestroy()
    • runJob

      @Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
      Specified by:
      runJob in interface com.atlassian.scheduler.JobRunner