Class WithStartWorkflowOperation<R>

    • Constructor Detail

      • WithStartWorkflowOperation

        public WithStartWorkflowOperation​(Functions.Func3<A1,​A2,​A3,​R> startMethod,
                                          A1 arg1,
                                          A2 arg2,
                                          A3 arg3)
        Creates a new WithStartWorkflowOperation for a three argument workflow method.
        Parameters:
        startMethod - method reference annotated with @WorkflowMethod of a proxy created through WorkflowClient.newWorkflowStub(Class, WorkflowOptions).
        arg1 - first workflow method parameter
        arg2 - second workflow method parameter
        arg3 - third workflow method parameter
      • WithStartWorkflowOperation

        public WithStartWorkflowOperation​(Functions.Func4<A1,​A2,​A3,​A4,​R> startMethod,
                                          A1 arg1,
                                          A2 arg2,
                                          A3 arg3,
                                          A4 arg4)
        Creates a new WithStartWorkflowOperation for a four argument workflow method.
        Parameters:
        startMethod - method reference annotated with @WorkflowMethod of a proxy created through WorkflowClient.newWorkflowStub(Class, WorkflowOptions).
        arg1 - first workflow method parameter
        arg2 - second workflow method parameter
        arg3 - third workflow method parameter
        arg4 - fourth workflow method parameter
      • WithStartWorkflowOperation

        public WithStartWorkflowOperation​(Functions.Func5<A1,​A2,​A3,​A4,​A5,​R> startMethod,
                                          A1 arg1,
                                          A2 arg2,
                                          A3 arg3,
                                          A4 arg4,
                                          A5 arg5)
        Creates a new WithStartWorkflowOperation for a five argument workflow method.
        Parameters:
        startMethod - method reference annotated with @WorkflowMethod of a proxy created through WorkflowClient.newWorkflowStub(Class, WorkflowOptions).
        arg1 - first workflow method parameter
        arg2 - second workflow method parameter
        arg3 - third workflow method parameter
        arg4 - fourth workflow method parameter
        arg5 - fifth workflow method parameter
      • WithStartWorkflowOperation

        public WithStartWorkflowOperation​(Functions.Func6<A1,​A2,​A3,​A4,​A5,​A6,​R> startMethod,
                                          A1 arg1,
                                          A2 arg2,
                                          A3 arg3,
                                          A4 arg4,
                                          A5 arg5,
                                          A6 arg6)
        Creates a new WithStartWorkflowOperation for a six argument workflow method.
        Parameters:
        startMethod - method reference annotated with @WorkflowMethod of a proxy created through WorkflowClient.newWorkflowStub(Class, WorkflowOptions).
        arg1 - first workflow method parameter
        arg2 - second workflow method parameter
        arg3 - third workflow method parameter
        arg4 - fourth workflow method parameter
        arg5 - fifth workflow method parameter
        arg6 - sixth workflow method parameter
      • WithStartWorkflowOperation

        public WithStartWorkflowOperation​(Functions.Proc3<A1,​A2,​A3> startMethod,
                                          A1 arg1,
                                          A2 arg2,
                                          A3 arg3)
        Creates a new WithStartWorkflowOperation for a three argument workflow method.
        Parameters:
        startMethod - method reference annotated with @WorkflowMethod of a proxy created through WorkflowClient.newWorkflowStub(Class, WorkflowOptions).
        arg1 - first workflow method parameter
        arg2 - second workflow method parameter
        arg3 - third workflow method parameter
      • WithStartWorkflowOperation

        public WithStartWorkflowOperation​(Functions.Proc4<A1,​A2,​A3,​A4> startMethod,
                                          A1 arg1,
                                          A2 arg2,
                                          A3 arg3,
                                          A4 arg4)
        Creates a new WithStartWorkflowOperation for a four argument workflow method.
        Parameters:
        startMethod - method reference annotated with @WorkflowMethod of a proxy created through WorkflowClient.newWorkflowStub(Class, WorkflowOptions).
        arg1 - first workflow method parameter
        arg2 - second workflow method parameter
        arg3 - third workflow method parameter
        arg4 - fourth workflow method parameter
      • WithStartWorkflowOperation

        public WithStartWorkflowOperation​(Functions.Proc5<A1,​A2,​A3,​A4,​A5> startMethod,
                                          A1 arg1,
                                          A2 arg2,
                                          A3 arg3,
                                          A4 arg4,
                                          A5 arg5)
        Creates a new WithStartWorkflowOperation for a five argument workflow method.
        Parameters:
        startMethod - method reference annotated with @WorkflowMethod of a proxy created through WorkflowClient.newWorkflowStub(Class, WorkflowOptions).
        arg1 - first workflow method parameter
        arg2 - second workflow method parameter
        arg3 - third workflow method parameter
        arg4 - fourth workflow method parameter
        arg5 - fifth workflow method parameter
      • WithStartWorkflowOperation

        public WithStartWorkflowOperation​(Functions.Proc6<A1,​A2,​A3,​A4,​A5,​A6> startMethod,
                                          A1 arg1,
                                          A2 arg2,
                                          A3 arg3,
                                          A4 arg4,
                                          A5 arg5,
                                          A6 arg6)
        Creates a new WithStartWorkflowOperation for a six argument workflow method.
        Parameters:
        startMethod - method reference annotated with @WorkflowMethod of a proxy created through WorkflowClient.newWorkflowStub(Class, WorkflowOptions).
        arg1 - first workflow method parameter
        arg2 - second workflow method parameter
        arg3 - third workflow method parameter
        arg4 - fourth workflow method parameter
        arg5 - fifth workflow method parameter
        arg6 - sixth workflow method parameter
    • Method Detail

      • getResult

        public R getResult()
        Obtains workflow result.
        Returns:
        the result of the workflow
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object