Class NotificationManager

    • Constructor Detail

      • NotificationManager

        public NotificationManager()
    • Method Detail

      • setTrigger

        public void setTrigger​(AbstractTrigger value)
        Sets the trigger to use.
        Parameters:
        value - the trigger
      • getTrigger

        public AbstractTrigger getTrigger()
        Returns the trigger in use.
        Returns:
        the trigger
      • triggerTipText

        public String triggerTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setNotification

        public void setNotification​(AbstractNotification value)
        Sets the restart operation to use.
        Parameters:
        value - the operation
      • getNotification

        public AbstractNotification getNotification()
        Returns the restart option in use.
        Returns:
        the operation
      • notificationTipText

        public String notificationTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • start

        public String start​(Flow flow)
        Starts the restart handling.
        Specified by:
        start in class AbstractFlowRestartManager
        Parameters:
        flow - the flow to handle
        Returns:
        null if successfully started, otherwise error message
      • stop

        public String stop​(Flow flow)
        Stops the restart handling.
        Specified by:
        stop in class AbstractFlowRestartManager
        Parameters:
        flow - the flow to handle
        Returns:
        null if successfully stopped, otherwise error message
      • trigger

        public String trigger()
        Receive a trigger.
        Specified by:
        trigger in interface TriggerHandler
        Returns:
        null if successfully triggered, otherwise the error message