org.exoplatform.services.scheduler.impl
Class TenantStartingTriggerListener
java.lang.Object
org.quartz.listeners.TriggerListenerSupport
org.exoplatform.services.scheduler.impl.TenantStartingTriggerListener
- All Implemented Interfaces:
- ComponentPlugin, org.quartz.TriggerListener
public class TenantStartingTriggerListener
- extends org.quartz.listeners.TriggerListenerSupport
- implements ComponentPlugin
Trigger listener controls starting tenant's job Always cancel execute job
until tenant container is created completely
| Methods inherited from class org.quartz.listeners.TriggerListenerSupport |
getLog, triggerComplete, triggerFired, triggerMisfired |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TENANTTRIGGER_NAME
public static final String TENANTTRIGGER_NAME
- See Also:
- Constant Field Values
TenantStartingTriggerListener
public TenantStartingTriggerListener(String tenantName)
vetoJobExecution
public boolean vetoJobExecution(org.quartz.Trigger trigger,
org.quartz.JobExecutionContext context)
- Specified by:
vetoJobExecution in interface org.quartz.TriggerListener- Overrides:
vetoJobExecution in class org.quartz.listeners.TriggerListenerSupport
getName
public String getName()
- Specified by:
getName in interface ComponentPlugin- Specified by:
getName in interface org.quartz.TriggerListener
setName
public void setName(String s)
- Specified by:
setName in interface ComponentPlugin
getDescription
public String getDescription()
- Specified by:
getDescription in interface ComponentPlugin
setDescription
public void setDescription(String s)
- Specified by:
setDescription in interface ComponentPlugin
createName
public static String createName(String tenantName)
Copyright © 2014 eXo Platform SAS. All Rights Reserved.