Package io.temporal.common.metadata
Class POJOWorkflowMethodMetadata
- java.lang.Object
-
- io.temporal.common.metadata.POJOWorkflowMethodMetadata
-
public final class POJOWorkflowMethodMetadata extends java.lang.Object
Metadata of a single workflow method.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Compare and hash based on method and the interface type only.java.lang.String
getName()
The semantics of the name depends on the value ofgetType()
.WorkflowMethodType
getType()
java.lang.reflect.Method
getWorkflowMethod()
int
hashCode()
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.QUERY
and workflow type forWorkflowMethodType.WORKFLOW
.
-
getWorkflowMethod
public java.lang.reflect.Method getWorkflowMethod()
-
equals
public boolean equals(java.lang.Object o)
Compare and hash based on method and the interface type only.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Compare and hash based on method and the interface type only.- Overrides:
hashCode
in classjava.lang.Object
-
-