Package io.temporal.common.metadata
Class POJOWorkflowMethodMetadata
- java.lang.Object
-
- io.temporal.common.metadata.POJOWorkflowMethodMetadata
-
public final class POJOWorkflowMethodMetadata extends java.lang.ObjectMetadata of a single workflow method.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Compare and hash based on method and the interface type only.java.lang.StringgetDescription()java.lang.StringgetName()The semantics of the name depends on the value ofgetType().WorkflowMethodTypegetType()java.lang.Class<?>getWorkflowInterface()java.lang.reflect.MethodgetWorkflowMethod()inthashCode()Compare and hash based on method and the interface type only.
-
-
-
Method Detail
-
getType
public WorkflowMethodType getType()
-
getName
public java.lang.String getName()
The semantics of the name depends on the value ofgetType(). It is signal name forWorkflowMethodType.SIGNAL, query type forWorkflowMethodType.QUERYand workflow type forWorkflowMethodType.WORKFLOW.
-
getDescription
public java.lang.String getDescription()
-
getWorkflowMethod
public java.lang.reflect.Method getWorkflowMethod()
-
getWorkflowInterface
public java.lang.Class<?> getWorkflowInterface()
-
equals
public boolean equals(java.lang.Object o)
Compare and hash based on method and the interface type only.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Compare and hash based on method and the interface type only.- Overrides:
hashCodein classjava.lang.Object
-
-