com.atlassian.confluence.schedule.managers
Class DefaultScheduledJobStatusManager

java.lang.Object
  extended by com.atlassian.confluence.schedule.managers.DefaultScheduledJobStatusManager
All Implemented Interfaces:
ScheduleJobStatusManager

public class DefaultScheduledJobStatusManager
extends Object
implements ScheduleJobStatusManager

Default implementation. Constructs new instance of ScheduleJobStatus, if not provided by the DAO, if configuration exists.


Constructor Summary
DefaultScheduledJobStatusManager(ScheduledJobDao scheduledJobDAO, org.quartz.Scheduler scheduler)
           
 
Method Summary
 ScheduledJobStatus getScheduledJobStatus(ManagedScheduledJob job)
          Retrieves the current status from the backend caches, or reconstructs a new instance if missing from the caches.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultScheduledJobStatusManager

public DefaultScheduledJobStatusManager(ScheduledJobDao scheduledJobDAO,
                                        org.quartz.Scheduler scheduler)
Method Detail

getScheduledJobStatus

public ScheduledJobStatus getScheduledJobStatus(ManagedScheduledJob job)
Description copied from interface: ScheduleJobStatusManager
Retrieves the current status from the backend caches, or reconstructs a new instance if missing from the caches.

Specified by:
getScheduledJobStatus in interface ScheduleJobStatusManager
Returns:
the current status of the job, or null if not currently managed.


Copyright © 2003-2013 Atlassian. All Rights Reserved.