public class FuncTestJobControlListenerForAtlassianScheduler extends Object implements com.atlassian.plugin.StateAware
FuncTestRpcHandlerImpl
.
This allows the job control to be handled across all cluster nodes.
Constructor and Description |
---|
FuncTestJobControlListenerForAtlassianScheduler() |
Modifier and Type | Method and Description |
---|---|
void |
disabled() |
void |
enabled() |
void |
onClusterEvent(ClusterEventWrapper clusterEventWrapper) |
void |
pauseAllJobs(PauseAllJobsEvent event) |
void |
pauseJob(PauseJobEvent event) |
void |
pauseJobGroup(PauseJobGroupEvent event) |
void |
resumeJob(ResumeJobEvent event) |
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) |
void |
setHibernateSessionManager(HibernateSessionManager sessionManager) |
void |
setSchedulerService(com.atlassian.scheduler.SchedulerService schedulerService) |
void |
triggerJob(TriggerJobEvent event) |
public FuncTestJobControlListenerForAtlassianScheduler()
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public void setSchedulerService(com.atlassian.scheduler.SchedulerService schedulerService)
public void setHibernateSessionManager(HibernateSessionManager sessionManager)
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
@EventListener public void onClusterEvent(ClusterEventWrapper clusterEventWrapper) throws com.atlassian.scheduler.SchedulerServiceException
com.atlassian.scheduler.SchedulerServiceException
@EventListener public void pauseJobGroup(PauseJobGroupEvent event)
@EventListener public void pauseJob(PauseJobEvent event)
@EventListener public void resumeJob(ResumeJobEvent event) throws com.atlassian.scheduler.SchedulerServiceException
com.atlassian.scheduler.SchedulerServiceException
@EventListener public void pauseAllJobs(PauseAllJobsEvent event)
@EventListener public void triggerJob(TriggerJobEvent event) throws com.atlassian.scheduler.SchedulerServiceException, RemoteException, InterruptedException
com.atlassian.scheduler.SchedulerServiceException
RemoteException
InterruptedException
Copyright © 2003–2020 Atlassian. All rights reserved.