Class POJOWorkflowInterfaceMetadata

java.lang.Object
io.temporal.common.metadata.POJOWorkflowInterfaceMetadata

public final class POJOWorkflowInterfaceMetadata extends Object
Metadata of a workflow interface.

Rules:

  • A workflow implementation must implement at least one non empty interface annotated with WorkflowInterface
  • An interface annotated with WorkflowInterface can extend zero or more interfaces.
  • An interface annotated with WorkflowInterface defines workflow methods for all methods it inherited from interfaces which are not annotated with WorkflowInterface.
  • Each method name can be defined only once across all interfaces annotated with WorkflowInterface. So if annotated interface A has method foo() and an annotated interface B extends A it cannot also declare foo() even with a different signature.