public class PreventJobExecutionUntilCompletedTriggerListener
extends org.quartz.listeners.TriggerListenerSupport
Modifier and Type | Field and Description |
---|---|
static org.quartz.TriggerListener |
INSTANCE |
Constructor and Description |
---|
PreventJobExecutionUntilCompletedTriggerListener() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
void |
triggerComplete(org.quartz.Trigger trigger,
org.quartz.JobExecutionContext context,
org.quartz.Trigger.CompletedExecutionInstruction triggerInstructionCode) |
void |
triggerFired(org.quartz.Trigger trigger,
org.quartz.JobExecutionContext context)
Register context only if there's no already registered context for given Trigger and JobDetail pair
|
boolean |
vetoJobExecution(org.quartz.Trigger trigger,
org.quartz.JobExecutionContext context)
Veto job execution Register context only if there's no already registered context for given Trigger and JobDetail pair
|
public PreventJobExecutionUntilCompletedTriggerListener()
public String getName()
public void triggerComplete(org.quartz.Trigger trigger, org.quartz.JobExecutionContext context, org.quartz.Trigger.CompletedExecutionInstruction triggerInstructionCode)
triggerComplete
in interface org.quartz.TriggerListener
triggerComplete
in class org.quartz.listeners.TriggerListenerSupport
public void triggerFired(org.quartz.Trigger trigger, org.quartz.JobExecutionContext context)
triggerFired
in interface org.quartz.TriggerListener
triggerFired
in class org.quartz.listeners.TriggerListenerSupport
trigger
- context
- public boolean vetoJobExecution(org.quartz.Trigger trigger, org.quartz.JobExecutionContext context)
vetoJobExecution
in interface org.quartz.TriggerListener
vetoJobExecution
in class org.quartz.listeners.TriggerListenerSupport
trigger
- context
- Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.