Class TaskTrigger

java.lang.Object
com.logicaldoc.core.task.TaskTrigger
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>, org.springframework.beans.factory.InitializingBean

public class TaskTrigger extends Object implements org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean
This trigger wraps both a SimpleTrigger and a CronTrigger
Since:
4.5
Author:
Marco Meschieri - LogicalDOC
  • Field Details

  • Method Details

    • getTask

      public Task getTask()
    • getName

      public String getName()
    • setTask

      public void setTask(Task task)
    • getSimpleTrigger

      public org.springframework.scheduling.quartz.SimpleTriggerFactoryBean getSimpleTrigger()
    • getCronTrigger

      public org.springframework.scheduling.quartz.CronTriggerFactoryBean getCronTrigger()
    • setJobDetail

      public void setJobDetail(org.quartz.JobDetail jobDetail)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • setBeanName

      public void setBeanName(String beanName)
      Specified by:
      setBeanName in interface org.springframework.beans.factory.BeanNameAware
    • getObject

      public org.quartz.Trigger getObject()
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>
    • reload

      public void reload()
    • setConfig

      public void setConfig(ContextProperties config)
    • getRepeatInterval

      public long getRepeatInterval()
    • getJobDetail

      public org.quartz.JobDetail getJobDetail()