File tree Expand file tree Collapse file tree 6 files changed +8
-9
lines changed
main/java/org/sterl/spring/persistent_tasks
test/java/org/sterl/spring/persistent_tasks/trigger Expand file tree Collapse file tree 6 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 160
160
</customTypeMappings >
161
161
<classes >
162
162
<class >org.springframework.data.web.PagedModel</class >
163
- <class >
164
- org.sterl.spring.persistent_tasks.scheduler.entity.SchedulerEntity</class >
163
+ <class >org.sterl.spring.persistent_tasks.scheduler.entity.SchedulerEntity</class >
165
164
</classes >
166
165
<classPatterns >
167
166
<pattern >org.sterl.spring.persistent_tasks.api.**</pattern >
Original file line number Diff line number Diff line change 1
- package org .sterl .spring .persistent_tasks .api . task .exception ;
1
+ package org .sterl .spring .persistent_tasks .task .exception ;
2
2
3
3
/**
4
4
* Set the task to cancel and finish the execution
Original file line number Diff line number Diff line change 1
- package org .sterl .spring .persistent_tasks .api . task .exception ;
1
+ package org .sterl .spring .persistent_tasks .task .exception ;
2
2
3
3
/**
4
4
* Set the task to failed and finish the execution.
Original file line number Diff line number Diff line change 1
- package org .sterl .spring .persistent_tasks .api . task .exception ;
1
+ package org .sterl .spring .persistent_tasks .task .exception ;
2
2
3
3
public abstract class TaskException extends RuntimeException {
4
4
private static final long serialVersionUID = 1L ;
Original file line number Diff line number Diff line change 8
8
import org .springframework .transaction .annotation .Propagation ;
9
9
import org .springframework .transaction .annotation .Transactional ;
10
10
import org .sterl .spring .persistent_tasks .api .task .RunningTriggerContextHolder ;
11
- import org .sterl .spring .persistent_tasks .api .task .exception .CancelTaskException ;
12
- import org .sterl .spring .persistent_tasks .api .task .exception .FailTaskNoRetryException ;
13
11
import org .sterl .spring .persistent_tasks .task .TaskService ;
12
+ import org .sterl .spring .persistent_tasks .task .exception .CancelTaskException ;
13
+ import org .sterl .spring .persistent_tasks .task .exception .FailTaskNoRetryException ;
14
14
import org .sterl .spring .persistent_tasks .trigger .model .RunTaskWithStateCommand ;
15
15
import org .sterl .spring .persistent_tasks .trigger .model .TriggerEntity ;
16
16
Original file line number Diff line number Diff line change 20
20
import org .sterl .spring .persistent_tasks .api .AddTriggerRequest ;
21
21
import org .sterl .spring .persistent_tasks .api .TaskId ;
22
22
import org .sterl .spring .persistent_tasks .api .TaskId .TriggerBuilder ;
23
- import org .sterl .spring .persistent_tasks .api .task .exception .CancelTaskException ;
24
- import org .sterl .spring .persistent_tasks .api .task .exception .FailTaskNoRetryException ;
25
23
import org .sterl .spring .persistent_tasks .api .TriggerKey ;
26
24
import org .sterl .spring .persistent_tasks .api .TriggerStatus ;
27
25
import org .sterl .spring .persistent_tasks .history .repository .TriggerHistoryLastStateRepository ;
26
+ import org .sterl .spring .persistent_tasks .task .exception .CancelTaskException ;
27
+ import org .sterl .spring .persistent_tasks .task .exception .FailTaskNoRetryException ;
28
28
import org .sterl .spring .persistent_tasks .task .repository .TaskRepository ;
29
29
import org .sterl .spring .persistent_tasks .trigger .component .StateSerializer .DeSerializationFailedException ;
30
30
import org .sterl .spring .persistent_tasks .trigger .event .TriggerAddedEvent ;
You can’t perform that action at this time.
0 commit comments