Class Flow.Builder

  • Enclosing class:
    Flow

    public static class Flow.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public Flow build()
        Builds a Flow.
        Returns:
        the flow
      • addElements

        public Flow.Builder addElements​(FlowEntry elements)
        Adds an elements to elements.
        Parameters:
        elements - the new elements
        Returns:
        the Flow builder
      • elements

        public Flow.Builder elements​(java.util.List<FlowEntry> elements)
        Set the elements. Existing elements will be replaced.
        Parameters:
        elements - the elements
        Returns:
        the Flow builder
      • async

        public Flow.Builder async​(java.lang.Boolean async)
        Set the async.
        Parameters:
        async - the async
        Returns:
        the Flow builder