public interface MaintenanceModeAgent
Modifier and Type | Field and Description |
---|---|
static SpecialistType<MaintenanceModeAgent> |
TYPE
The agent's technical type to be used for requesting the agent from a
SpecialistsBroker . |
Modifier and Type | Method and Description |
---|---|
Collection<MaintenanceModeInfo> |
getActiveMaintenanceModes()
A maintenance mode task is active if one of the stages mentioned
in
MaintenanceModeTask.MaintenanceStage is active. |
void |
stopMaintenanceMode(MaintenanceModeInfo info)
Stops a maintenance mode task, skipping any future stages.
|
static final SpecialistType<MaintenanceModeAgent> TYPE
SpecialistsBroker
.@NotNull Collection<MaintenanceModeInfo> getActiveMaintenanceModes()
MaintenanceModeTask.MaintenanceStage
is active. This
method returns information about all active tasks.null
.void stopMaintenanceMode(@NotNull MaintenanceModeInfo info)
info
- the information regarding the maintenance mode task, must not be null
.IllegalArgumentException
- if the task could not be found.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210