Total Complexity | 8 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | #!/usr/bin/env python |
||
8 | class RunObserver(object): |
||
9 | """Defines the interface for all run observers.""" |
||
10 | |||
11 | priority = 0 |
||
12 | |||
13 | def queued_event(self, ex_info, command, host_info, queue_time, config, |
||
14 | meta_info, _id): |
||
15 | pass |
||
16 | |||
17 | def started_event(self, ex_info, command, host_info, start_time, config, |
||
18 | meta_info, _id): |
||
19 | pass |
||
20 | |||
21 | def heartbeat_event(self, info, captured_out, beat_time, result): |
||
22 | pass |
||
23 | |||
24 | def completed_event(self, stop_time, result): |
||
25 | pass |
||
26 | |||
27 | def interrupted_event(self, interrupt_time, status): |
||
28 | pass |
||
29 | |||
30 | def failed_event(self, fail_time, fail_trace): |
||
31 | pass |
||
32 | |||
33 | def resource_event(self, filename): |
||
34 | pass |
||
35 | |||
36 | def artifact_event(self, name, filename): |
||
37 | pass |
||
38 |