Class FlowUtil.Builder

  • Enclosing class:
    FlowUtil

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

      • Builder

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

      • build

        public Flow build()
        Builds a FlowUtil.
        Returns:
        the flowUtil
      • addAnnotators

        public FlowUtil.Builder addAnnotators​(java.lang.String annotators)
        Adds an annotators to annotators.
        Parameters:
        annotators - the new annotators
        Returns:
        the FlowUtil builder
      • annotators

        public FlowUtil.Builder annotators​(java.util.List<java.lang.String> annotators)
        Set the annotators. Existing annotators will be replaced.
        Parameters:
        annotators - the annotators
        Returns:
        the FlowUtil builder
      • async

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