Interface InteractiveActor

    • Method Detail

      • setStopFlowIfCanceled

        void setStopFlowIfCanceled​(boolean value)
        Sets whether to stop the flow if dialog canceled.
        Parameters:
        value - if true flow gets stopped if dialog canceled
      • getStopFlowIfCanceled

        boolean getStopFlowIfCanceled()
        Returns whether to stop the flow if dialog canceled.
        Returns:
        true if the flow gets stopped if dialog canceled
      • stopFlowIfCanceledTipText

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

        void setCustomStopMessage​(String value)
        Sets the custom message to use when stopping the flow.
        Parameters:
        value - the stop message
      • getCustomStopMessage

        String getCustomStopMessage()
        Returns the custom message to use when stopping the flow.
        Returns:
        the stop message
      • customStopMessageTipText

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

        String doInteract()
        Performs the interaction with the user.
        Returns:
        null if successfully interacted, otherwise error message
      • supportsHeadlessInteraction

        boolean supportsHeadlessInteraction()
        Returns whether headless interaction is supported.
        Returns:
        true if interaction in headless environment is possible
      • doInteractHeadless

        String doInteractHeadless()
        Performs the interaction with the user in a headless environment.
        Returns:
        null if successfully interacted, otherwise error message