Class MaintenanceWorkflow

    • Constructor Detail

      • MaintenanceWorkflow

        public MaintenanceWorkflow()
        Create maintenance workflow definition.
      • MaintenanceWorkflow

        protected MaintenanceWorkflow​(String type,
                                      WorkflowSettings settings)
        Extend maintenance workflow definition with customer workflow settings.
        Parameters:
        type - The type of the workflow definition.
        settings - The workflow settings.
    • Method Detail

      • doWork

        public NextAction doWork​(StateExecution execution,
                                 MaintenanceConfiguration conf)
        Clean up old workflow instances.
        Parameters:
        execution - State execution context.
        conf - The maintenance configuration.
        Returns:
        The action to go schedule state.