Interface MaintenanceWorkflowCallback

    • Method Detail

      • shouldProceedWithMaintenance

        boolean shouldProceedWithMaintenance()
        Called by MaintenanceRegistry and enables it to check if maintenance is still needed for component that provided this callback. User may fix maintenance situation by hand when node was down thus before going to maintenance mode we should be able to check if it is still necessary.
        Returns:
        True if maintenance is still needed for the component.
      • allActions

        @NotNull
        @NotNull List<MaintenanceAction<?>> allActions()
        Supplies list of MaintenanceActions that user can call to fix maintenance situation for the component or get information about ongoing actions. Should not be null or empty.
        Returns:
        Not null and non-empty List of MaintenanceAction.