本文整理了Java中org.quartz.Trigger.getFinalFireTime()
方法的一些代码示例,展示了Trigger.getFinalFireTime()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Trigger.getFinalFireTime()
方法的具体详情如下:
包路径:org.quartz.Trigger
类名称:Trigger
方法名:getFinalFireTime
[英]Returns the last time at which the Trigger
will fire, if the Trigger will repeat indefinitely, null will be returned.
Note that the return time may be in the past.
[中]返回上次触发Trigger
的时间,如果触发器无限期重复,则返回null。
请注意,返回时间可能在过去。
代码示例来源:origin: quartz-scheduler/quartz
public static CompositeData toCompositeData(Trigger trigger) {
try {
return new CompositeDataSupport(COMPOSITE_TYPE, ITEM_NAMES,
new Object[] {
trigger.getKey().getName(),
trigger.getKey().getGroup(),
trigger.getJobKey().getName(),
trigger.getJobKey().getGroup(),
trigger.getDescription(),
JobDataMapSupport.toTabularData(trigger
.getJobDataMap()),
trigger.getCalendarName(),
((OperableTrigger)trigger).getFireInstanceId(),
trigger.getMisfireInstruction(),
trigger.getPriority(), trigger.getStartTime(),
trigger.getEndTime(), trigger.getNextFireTime(),
trigger.getPreviousFireTime(),
trigger.getFinalFireTime() });
} catch (OpenDataException e) {
throw new RuntimeException(e);
}
}
代码示例来源:origin: org.finra.herd/herd-service
trigger.getEndTime(), trigger.getFinalFireTime(), trigger.getJobKey(), trigger.getKey(), trigger.getMisfireInstruction(), trigger.getNextFireTime(),
trigger.getPreviousFireTime(), trigger.getPriority(), trigger.getStartTime()));
代码示例来源:origin: FINRAOS/herd
trigger.getEndTime(), trigger.getFinalFireTime(), trigger.getJobKey(), trigger.getKey(), trigger.getMisfireInstruction(), trigger.getNextFireTime(),
trigger.getPreviousFireTime(), trigger.getPriority(), trigger.getStartTime()));
代码示例来源:origin: org.seedstack.seed/seed-scheduling-support
SchedulingContextImpl(JobExecutionContext context) {
taskName = context.getJobDetail().getKey().getName();
storeDurably = context.getJobDetail().isDurable();
requestRecovery = context.getJobDetail().requestsRecovery();
scheduledFireDate = context.getScheduledFireTime();
currentFireDate = context.getFireTime();
previousFireDate = context.getPreviousFireTime();
nextFireDate = context.getNextFireTime();
taskRuntime = context.getJobRunTime();
triggerRefireCount = context.getRefireCount();
triggerEndDate = context.getTrigger().getEndTime();
triggerFinalFireDate = context.getTrigger().getFinalFireTime();
triggerName = context.getTrigger().getKey().getName();
triggerStartDate = context.getTrigger().getStartTime();
triggerPriority = context.getTrigger().getPriority();
}
代码示例来源:origin: nkcoder/quartz-explained
public static CompositeData toCompositeData(Trigger trigger) {
try {
return new CompositeDataSupport(COMPOSITE_TYPE, ITEM_NAMES,
new Object[] {
trigger.getKey().getName(),
trigger.getKey().getGroup(),
trigger.getJobKey().getName(),
trigger.getJobKey().getGroup(),
trigger.getDescription(),
JobDataMapSupport.toTabularData(trigger
.getJobDataMap()),
trigger.getCalendarName(),
((OperableTrigger)trigger).getFireInstanceId(),
trigger.getMisfireInstruction(),
trigger.getPriority(), trigger.getStartTime(),
trigger.getEndTime(), trigger.getNextFireTime(),
trigger.getPreviousFireTime(),
trigger.getFinalFireTime() });
} catch (OpenDataException e) {
throw new RuntimeException(e);
}
}
内容来源于网络,如有侵权,请联系作者删除!