当前位置: 首页>>代码示例>>Java>>正文


Java TriggerFiredBundle.getScheduledFireTime方法代码示例

本文整理汇总了Java中org.quartz.spi.TriggerFiredBundle.getScheduledFireTime方法的典型用法代码示例。如果您正苦于以下问题:Java TriggerFiredBundle.getScheduledFireTime方法的具体用法?Java TriggerFiredBundle.getScheduledFireTime怎么用?Java TriggerFiredBundle.getScheduledFireTime使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.quartz.spi.TriggerFiredBundle的用法示例。


在下文中一共展示了TriggerFiredBundle.getScheduledFireTime方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: JobExecutionContextImpl

import org.quartz.spi.TriggerFiredBundle; //导入方法依赖的package包/类
/**
 * <p>
 * Create a JobExcecutionContext with the given context data.
 * </p>
 */
public JobExecutionContextImpl(Scheduler scheduler,
        TriggerFiredBundle firedBundle, Job job) {
    this.scheduler = scheduler;
    this.trigger = firedBundle.getTrigger();
    this.calendar = firedBundle.getCalendar();
    this.jobDetail = firedBundle.getJobDetail();
    this.job = job;
    this.recovering = firedBundle.isRecovering();
    this.fireTime = firedBundle.getFireTime();
    this.scheduledFireTime = firedBundle.getScheduledFireTime();
    this.prevFireTime = firedBundle.getPrevFireTime();
    this.nextFireTime = firedBundle.getNextFireTime();
    
    this.jobDataMap = new JobDataMap();
    this.jobDataMap.putAll(jobDetail.getJobDataMap());
    this.jobDataMap.putAll(trigger.getJobDataMap());
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:23,代码来源:JobExecutionContextImpl.java

示例2: JobExecutionContext

import org.quartz.spi.TriggerFiredBundle; //导入方法依赖的package包/类
/**
 * <p>
 * Create a JobExcecutionContext with the given context data.
 * </p>
 */
public JobExecutionContext(Scheduler scheduler,
        TriggerFiredBundle firedBundle, Job job) {
    this.scheduler = scheduler;
    this.trigger = firedBundle.getTrigger();
    this.calendar = firedBundle.getCalendar();
    this.jobDetail = firedBundle.getJobDetail();
    this.job = job;
    this.recovering = firedBundle.isRecovering();
    this.fireTime = firedBundle.getFireTime();
    this.scheduledFireTime = firedBundle.getScheduledFireTime();
    this.prevFireTime = firedBundle.getPrevFireTime();
    this.nextFireTime = firedBundle.getNextFireTime();
    
    this.jobDataMap = new JobDataMap();
    this.jobDataMap.putAll(jobDetail.getJobDataMap());
    this.jobDataMap.putAll(trigger.getJobDataMap());
}
 
开发者ID:AsuraTeam,项目名称:asura,代码行数:23,代码来源:JobExecutionContext.java


注:本文中的org.quartz.spi.TriggerFiredBundle.getScheduledFireTime方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。