Skip to content

Commit 9283fd2

Browse files
committed
Update Javadoc for CronTriggerFactoryBean.setMisfireInstructionName()
org.quartz.Trigger#MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY is also supported.
1 parent 544f594 commit 9283fd2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

spring-context-support/src/main/java/org/springframework/scheduling/quartz/CronTriggerFactoryBean.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -196,19 +196,21 @@ public void setPriority(int priority) {
196196
}
197197

198198
/**
199-
* Specify a misfire instruction for this trigger.
199+
* Specify the misfire instruction for this trigger.
200200
*/
201201
public void setMisfireInstruction(int misfireInstruction) {
202202
this.misfireInstruction = misfireInstruction;
203203
}
204204

205205
/**
206-
* Set the misfire instruction via the name of the corresponding
207-
* constant in the {@link org.quartz.CronTrigger} class.
208-
* Default is {@code MISFIRE_INSTRUCTION_SMART_POLICY}.
206+
* Set the misfire instruction for this trigger via the name of the corresponding
207+
* constant in the {@link org.quartz.Trigger} and {@link org.quartz.CronTrigger}
208+
* classes.
209+
* <p>Default is {@code MISFIRE_INSTRUCTION_SMART_POLICY}.
210+
* @see org.quartz.Trigger#MISFIRE_INSTRUCTION_SMART_POLICY
211+
* @see org.quartz.Trigger#MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY
209212
* @see org.quartz.CronTrigger#MISFIRE_INSTRUCTION_FIRE_ONCE_NOW
210213
* @see org.quartz.CronTrigger#MISFIRE_INSTRUCTION_DO_NOTHING
211-
* @see org.quartz.Trigger#MISFIRE_INSTRUCTION_SMART_POLICY
212214
*/
213215
public void setMisfireInstructionName(String constantName) {
214216
this.misfireInstruction = constants.asNumber(constantName).intValue();

0 commit comments

Comments
 (0)