Class PreferredVersionProviderInput
java.lang.Object
io.temporal.worker.PreferredVersionProviderInput
Input passed to
PreferredVersionProvider.-
Constructor Summary
ConstructorsConstructorDescriptionPreferredVersionProviderInput(WorkflowInfo workflowInfo, String changeId, int minSupported, int maxSupported) -
Method Summary
Modifier and TypeMethodDescriptionReturns the change ID passed toWorkflow.getVersion.intReturns the maximum supported version passed toWorkflow.getVersion.intReturns the minimum supported version passed toWorkflow.getVersion.Returns information about the workflow execution handling thegetVersioncall.toString()
-
Constructor Details
-
PreferredVersionProviderInput
public PreferredVersionProviderInput(@Nonnull WorkflowInfo workflowInfo, @Nonnull String changeId, int minSupported, int maxSupported)
-
-
Method Details
-
getWorkflowInfo
Returns information about the workflow execution handling thegetVersioncall. -
getChangeId
Returns the change ID passed toWorkflow.getVersion. -
getMinSupported
public int getMinSupported()Returns the minimum supported version passed toWorkflow.getVersion. -
getMaxSupported
public int getMaxSupported()Returns the maximum supported version passed toWorkflow.getVersion. -
toString
-