com.atlassian.confluence.test.rpc
Class FuncTestJobControlListener
java.lang.Object
com.atlassian.confluence.test.rpc.FuncTestJobControlListener
- All Implemented Interfaces:
- com.atlassian.plugin.StateAware
public class FuncTestJobControlListener
- extends java.lang.Object
- implements com.atlassian.plugin.StateAware
Listens to Scheduler job-control events published by FuncTestRpcHandlerImpl
.
This allows the job control to be handled across all cluster nodes.
- Since:
- 5.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FuncTestJobControlListener
public FuncTestJobControlListener()
onClusterEvent
@EventListener
public void onClusterEvent(ClusterEventWrapper clusterEventWrapper)
throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
pauseJob
@EventListener
public void pauseJob(PauseJobEvent event)
throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
resumeJob
@EventListener
public void resumeJob(ResumeJobEvent event)
throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
pauseJobGroup
@EventListener
public void pauseJobGroup(PauseJobGroupEvent event)
throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
pauseAllJobs
@EventListener
public void pauseAllJobs(PauseAllJobsEvent event)
throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
triggerJob
@EventListener
public void triggerJob(TriggerJobEvent event)
throws org.quartz.SchedulerException,
RemoteException,
java.lang.InterruptedException
- Throws:
org.quartz.SchedulerException
RemoteException
java.lang.InterruptedException
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
setScheduler
public void setScheduler(org.quartz.Scheduler scheduler)
enabled
public void enabled()
- Specified by:
enabled
in interface com.atlassian.plugin.StateAware
disabled
public void disabled()
- Specified by:
disabled
in interface com.atlassian.plugin.StateAware
Copyright © 2003-2014 Atlassian. All Rights Reserved.