Class PreferredVersionProviderInput

java.lang.Object
io.temporal.worker.PreferredVersionProviderInput

@Experimental public final class PreferredVersionProviderInput extends Object
Input passed to PreferredVersionProvider.
  • Constructor Details

    • PreferredVersionProviderInput

      public PreferredVersionProviderInput(@Nonnull WorkflowInfo workflowInfo, @Nonnull String changeId, int minSupported, int maxSupported)
  • Method Details

    • getWorkflowInfo

      @Nonnull public WorkflowInfo getWorkflowInfo()
      Returns information about the workflow execution handling the getVersion call.
    • getChangeId

      @Nonnull public String getChangeId()
      Returns the change ID passed to Workflow.getVersion.
    • getMinSupported

      public int getMinSupported()
      Returns the minimum supported version passed to Workflow.getVersion.
    • getMaxSupported

      public int getMaxSupported()
      Returns the maximum supported version passed to Workflow.getVersion.
    • toString

      public String toString()
      Overrides:
      toString in class Object