|
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.
|
@@ -184,22 +184,24 @@ public void setPriority(int priority) {
|
184 | 184 | }
|
185 | 185 |
|
186 | 186 | /**
|
187 |
| - * Specify a misfire instruction for this trigger. |
| 187 | + * Specify the misfire instruction for this trigger. |
188 | 188 | */
|
189 | 189 | public void setMisfireInstruction(int misfireInstruction) {
|
190 | 190 | this.misfireInstruction = misfireInstruction;
|
191 | 191 | }
|
192 | 192 |
|
193 | 193 | /**
|
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 |
197 | 200 | * @see org.quartz.SimpleTrigger#MISFIRE_INSTRUCTION_FIRE_NOW
|
198 | 201 | * @see org.quartz.SimpleTrigger#MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_EXISTING_COUNT
|
199 | 202 | * @see org.quartz.SimpleTrigger#MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_REMAINING_COUNT
|
200 | 203 | * @see org.quartz.SimpleTrigger#MISFIRE_INSTRUCTION_RESCHEDULE_NOW_WITH_EXISTING_REPEAT_COUNT
|
201 | 204 | * @see org.quartz.SimpleTrigger#MISFIRE_INSTRUCTION_RESCHEDULE_NOW_WITH_REMAINING_REPEAT_COUNT
|
202 |
| - * @see org.quartz.Trigger#MISFIRE_INSTRUCTION_SMART_POLICY |
203 | 205 | */
|
204 | 206 | public void setMisfireInstructionName(String constantName) {
|
205 | 207 | this.misfireInstruction = constants.asNumber(constantName).intValue();
|
|
0 commit comments