Class FlowExecutionEvent

    • Method Detail

      • conditionResultEvent

        public final ConditionResultEvent conditionResultEvent()

        Contains information about a condition evaluation result during the flow execution. This event is generated when a condition node in the flow evaluates its conditions.

        Returns:
        Contains information about a condition evaluation result during the flow execution. This event is generated when a condition node in the flow evaluates its conditions.
      • flowFailureEvent

        public final FlowFailureEvent flowFailureEvent()

        Contains information about a failure that occurred at the flow level during execution.

        Returns:
        Contains information about a failure that occurred at the flow level during execution.
      • flowInputEvent

        public final FlowExecutionInputEvent flowInputEvent()

        Contains information about the inputs provided to the flow at the start of execution.

        Returns:
        Contains information about the inputs provided to the flow at the start of execution.
      • flowOutputEvent

        public final FlowExecutionOutputEvent flowOutputEvent()

        Contains information about the outputs produced by the flow at the end of execution.

        Returns:
        Contains information about the outputs produced by the flow at the end of execution.
      • nodeFailureEvent

        public final NodeFailureEvent nodeFailureEvent()

        Contains information about a failure that occurred at a specific node during execution.

        Returns:
        Contains information about a failure that occurred at a specific node during execution.
      • nodeInputEvent

        public final NodeInputEvent nodeInputEvent()

        Contains information about the inputs provided to a specific node during execution.

        Returns:
        Contains information about the inputs provided to a specific node during execution.
      • nodeOutputEvent

        public final NodeOutputEvent nodeOutputEvent()

        Contains information about the outputs produced by a specific node during execution.

        Returns:
        Contains information about the outputs produced by a specific node during execution.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromConditionResultEvent

        public static FlowExecutionEvent fromConditionResultEvent​(ConditionResultEvent conditionResultEvent)
        Create an instance of this class with conditionResultEvent() initialized to the given value.

        Contains information about a condition evaluation result during the flow execution. This event is generated when a condition node in the flow evaluates its conditions.

        Parameters:
        conditionResultEvent - Contains information about a condition evaluation result during the flow execution. This event is generated when a condition node in the flow evaluates its conditions.
      • fromConditionResultEvent

        public static FlowExecutionEvent fromConditionResultEvent​(Consumer<ConditionResultEvent.Builder> conditionResultEvent)
        Create an instance of this class with conditionResultEvent() initialized to the given value.

        Contains information about a condition evaluation result during the flow execution. This event is generated when a condition node in the flow evaluates its conditions.

        Parameters:
        conditionResultEvent - Contains information about a condition evaluation result during the flow execution. This event is generated when a condition node in the flow evaluates its conditions.
      • fromFlowFailureEvent

        public static FlowExecutionEvent fromFlowFailureEvent​(FlowFailureEvent flowFailureEvent)
        Create an instance of this class with flowFailureEvent() initialized to the given value.

        Contains information about a failure that occurred at the flow level during execution.

        Parameters:
        flowFailureEvent - Contains information about a failure that occurred at the flow level during execution.
      • fromFlowFailureEvent

        public static FlowExecutionEvent fromFlowFailureEvent​(Consumer<FlowFailureEvent.Builder> flowFailureEvent)
        Create an instance of this class with flowFailureEvent() initialized to the given value.

        Contains information about a failure that occurred at the flow level during execution.

        Parameters:
        flowFailureEvent - Contains information about a failure that occurred at the flow level during execution.
      • fromFlowInputEvent

        public static FlowExecutionEvent fromFlowInputEvent​(FlowExecutionInputEvent flowInputEvent)
        Create an instance of this class with flowInputEvent() initialized to the given value.

        Contains information about the inputs provided to the flow at the start of execution.

        Parameters:
        flowInputEvent - Contains information about the inputs provided to the flow at the start of execution.
      • fromFlowInputEvent

        public static FlowExecutionEvent fromFlowInputEvent​(Consumer<FlowExecutionInputEvent.Builder> flowInputEvent)
        Create an instance of this class with flowInputEvent() initialized to the given value.

        Contains information about the inputs provided to the flow at the start of execution.

        Parameters:
        flowInputEvent - Contains information about the inputs provided to the flow at the start of execution.
      • fromFlowOutputEvent

        public static FlowExecutionEvent fromFlowOutputEvent​(FlowExecutionOutputEvent flowOutputEvent)
        Create an instance of this class with flowOutputEvent() initialized to the given value.

        Contains information about the outputs produced by the flow at the end of execution.

        Parameters:
        flowOutputEvent - Contains information about the outputs produced by the flow at the end of execution.
      • fromFlowOutputEvent

        public static FlowExecutionEvent fromFlowOutputEvent​(Consumer<FlowExecutionOutputEvent.Builder> flowOutputEvent)
        Create an instance of this class with flowOutputEvent() initialized to the given value.

        Contains information about the outputs produced by the flow at the end of execution.

        Parameters:
        flowOutputEvent - Contains information about the outputs produced by the flow at the end of execution.
      • fromNodeFailureEvent

        public static FlowExecutionEvent fromNodeFailureEvent​(NodeFailureEvent nodeFailureEvent)
        Create an instance of this class with nodeFailureEvent() initialized to the given value.

        Contains information about a failure that occurred at a specific node during execution.

        Parameters:
        nodeFailureEvent - Contains information about a failure that occurred at a specific node during execution.
      • fromNodeFailureEvent

        public static FlowExecutionEvent fromNodeFailureEvent​(Consumer<NodeFailureEvent.Builder> nodeFailureEvent)
        Create an instance of this class with nodeFailureEvent() initialized to the given value.

        Contains information about a failure that occurred at a specific node during execution.

        Parameters:
        nodeFailureEvent - Contains information about a failure that occurred at a specific node during execution.
      • fromNodeInputEvent

        public static FlowExecutionEvent fromNodeInputEvent​(NodeInputEvent nodeInputEvent)
        Create an instance of this class with nodeInputEvent() initialized to the given value.

        Contains information about the inputs provided to a specific node during execution.

        Parameters:
        nodeInputEvent - Contains information about the inputs provided to a specific node during execution.
      • fromNodeInputEvent

        public static FlowExecutionEvent fromNodeInputEvent​(Consumer<NodeInputEvent.Builder> nodeInputEvent)
        Create an instance of this class with nodeInputEvent() initialized to the given value.

        Contains information about the inputs provided to a specific node during execution.

        Parameters:
        nodeInputEvent - Contains information about the inputs provided to a specific node during execution.
      • fromNodeOutputEvent

        public static FlowExecutionEvent fromNodeOutputEvent​(NodeOutputEvent nodeOutputEvent)
        Create an instance of this class with nodeOutputEvent() initialized to the given value.

        Contains information about the outputs produced by a specific node during execution.

        Parameters:
        nodeOutputEvent - Contains information about the outputs produced by a specific node during execution.
      • fromNodeOutputEvent

        public static FlowExecutionEvent fromNodeOutputEvent​(Consumer<NodeOutputEvent.Builder> nodeOutputEvent)
        Create an instance of this class with nodeOutputEvent() initialized to the given value.

        Contains information about the outputs produced by a specific node during execution.

        Parameters:
        nodeOutputEvent - Contains information about the outputs produced by a specific node during execution.