File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
spring-context-support/src/main/java/org/springframework/scheduling/quartz Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -196,19 +196,21 @@ public void setPriority(int priority) {
196
196
}
197
197
198
198
/**
199
- * Specify a misfire instruction for this trigger.
199
+ * Specify the misfire instruction for this trigger.
200
200
*/
201
201
public void setMisfireInstruction (int misfireInstruction ) {
202
202
this .misfireInstruction = misfireInstruction ;
203
203
}
204
204
205
205
/**
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
209
212
* @see org.quartz.CronTrigger#MISFIRE_INSTRUCTION_FIRE_ONCE_NOW
210
213
* @see org.quartz.CronTrigger#MISFIRE_INSTRUCTION_DO_NOTHING
211
- * @see org.quartz.Trigger#MISFIRE_INSTRUCTION_SMART_POLICY
212
214
*/
213
215
public void setMisfireInstructionName (String constantName ) {
214
216
this .misfireInstruction = constants .asNumber (constantName ).intValue ();
You can’t perform that action at this time.
0 commit comments