Class POJOWorkflowImplementationFactory

    • Field Detail

      • WORKFLOW_HANDLER_STACKTRACE_CUTOFF

        public static final com.google.common.collect.ImmutableSet<java.lang.String> WORKFLOW_HANDLER_STACKTRACE_CUTOFF
    • Method Detail

      • registerWorkflowImplementationTypes

        public void registerWorkflowImplementationTypes​(WorkflowImplementationOptions options,
                                                        java.lang.Class<?>[] workflowImplementationTypes)
      • addWorkflowImplementationFactory

        public <R> void addWorkflowImplementationFactory​(WorkflowImplementationOptions options,
                                                         java.lang.Class<R> clazz,
                                                         Functions.Func<R> factory)
        Parameters:
        clazz - has to be a workflow interface class. The only exception is if it's a DynamicWorkflow class.
      • getWorkflow

        public ReplayWorkflow getWorkflow​(io.temporal.api.common.v1.WorkflowType workflowType,
                                          io.temporal.api.common.v1.WorkflowExecution workflowExecution)
        Specified by:
        getWorkflow in interface ReplayWorkflowFactory
      • toString

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