Class AbstractAbruptCompletionException.Builder<Self extends AbstractAbruptCompletionException.Builder>

    • Constructor Detail

      • Builder

        protected Builder​(WorkflowNode node)
        Parameters:
        node - The node that did finish execution.
    • Method Detail

      • alwaysValue

        public final Self alwaysValue​(Object alwaysValue)
        Parameters:
        alwaysValue - Data made available by the node irrespective of how it finished.
        Returns:
        This builder for chaining method calls.
      • cause

        public final Self cause​(Throwable cause)
        Parameters:
        cause - Underlying cause of the error that occurred.
        Returns:
        This builder for chaining method calls.
      • message

        public final Self message​(String message)
        Parameters:
        message - Error message describing the error that occurred.
        Returns:
        This builder for chaining method calls.
      • attachmentValue

        public final Self attachmentValue​(IWorkflowAttachmentValue attachmentValue)
        Parameters:
        attachmentValue - List of attachments made available by the node.
        Returns:
        This builder for chaining method calls.
      • fileValue

        public final Self fileValue​(IWorkflowFileValue fileValue)
        Parameters:
        fileValue - List of files made available by the node.
        Returns:
        This builder for chaining method calls.
      • self

        protected abstract Self self()
        Returns:
        This builder instance for chaining method calls.