|
5 | 5 | # To switch controllers, specify |
6 | 6 | # * the list of controller names to activate, |
7 | 7 | # * the list of controller names to deactivate, and |
8 | | -# * the strictness (BEST_EFFORT or STRICT) |
| 8 | +# * the strictness (STRICT, BEST_EFFORT, AUTO, or FORCE_AUTO) |
9 | 9 | # * STRICT means that switching will fail if anything goes wrong (an invalid |
10 | | -# controller name, a controller that failed to activate, etc. ) |
11 | | -# * BEST_EFFORT means that even when something goes wrong with one controller, |
12 | | -# the service will still try to activate/deactivate the remaining controllers |
| 10 | +# controller name, a controller that failed to activate, etc.). |
| 11 | +# * BEST_EFFORT: |
| 12 | +# Transitions are only triggered if the controller is not yet in the target state. |
| 13 | +# If it is already in the target state, no error occurs. |
| 14 | +# Returns 'false' if all controllers of 'activate_controllers' or 'deactivate_controllers' are not yet loaded or configured, |
| 15 | +# or the pending transitions of all existing controllers of 'activate_controllers' |
| 16 | +# or 'deactivate_controllers' fail. |
| 17 | +# Returns 'true' otherwise. |
13 | 18 | # * AUTO means that the controller manager will automatically resolve the controller |
14 | 19 | # chain in order to activate and/or deactivate the specified controllers. |
15 | 20 | # This is useful in complex systems when you want all dependent controllers to start |
|
28 | 33 | # * the timeout before aborting pending controllers. Zero for infinite |
29 | 34 |
|
30 | 35 | # The return value "ok" indicates if the controllers were switched |
31 | | -# successfully or not. The meaning of success depends on the |
| 36 | +# successfully or not. The meaning of success depends on the |
32 | 37 | # specified strictness. |
33 | | -# The return value "message" provides some human-readable information |
| 38 | +# The return value "message" provides some human-readable information. |
34 | 39 |
|
35 | 40 |
|
36 | 41 | string[] activate_controllers |
|
0 commit comments