Skip to content

Commit 11de70e

Browse files
committed
Update Javadoc for SimpleTriggerFactoryBean.setMisfireInstructionName()
org.quartz.Trigger#MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY is also supported.
1 parent 9283fd2 commit 11de70e

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/SimpleTriggerFactoryBean.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.
@@ -184,22 +184,24 @@ public void setPriority(int priority) {
184184
}
185185

186186
/**
187-
* Specify a misfire instruction for this trigger.
187+
* Specify the misfire instruction for this trigger.
188188
*/
189189
public void setMisfireInstruction(int misfireInstruction) {
190190
this.misfireInstruction = misfireInstruction;
191191
}
192192

193193
/**
194-
* Set the misfire instruction via the name of the corresponding
195-
* constant in the {@link org.quartz.SimpleTrigger} class.
196-
* Default is {@code MISFIRE_INSTRUCTION_SMART_POLICY}.
194+
* Set the misfire instruction for this trigger via the name of the corresponding
195+
* constant in the {@link org.quartz.Trigger} and {@link org.quartz.SimpleTrigger}
196+
* classes.
197+
* <p>Default is {@code MISFIRE_INSTRUCTION_SMART_POLICY}.
198+
* @see org.quartz.Trigger#MISFIRE_INSTRUCTION_SMART_POLICY
199+
* @see org.quartz.Trigger#MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY
197200
* @see org.quartz.SimpleTrigger#MISFIRE_INSTRUCTION_FIRE_NOW
198201
* @see org.quartz.SimpleTrigger#MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_EXISTING_COUNT
199202
* @see org.quartz.SimpleTrigger#MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_REMAINING_COUNT
200203
* @see org.quartz.SimpleTrigger#MISFIRE_INSTRUCTION_RESCHEDULE_NOW_WITH_EXISTING_REPEAT_COUNT
201204
* @see org.quartz.SimpleTrigger#MISFIRE_INSTRUCTION_RESCHEDULE_NOW_WITH_REMAINING_REPEAT_COUNT
202-
* @see org.quartz.Trigger#MISFIRE_INSTRUCTION_SMART_POLICY
203205
*/
204206
public void setMisfireInstructionName(String constantName) {
205207
this.misfireInstruction = constants.asNumber(constantName).intValue();

0 commit comments

Comments
 (0)