Class LinkConverter
java.lang.Object
io.temporal.internal.common.LinkConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.temporal.api.nexus.v1.LinklinkToNexusLink(io.temporal.api.common.v1.Link commonLink) Dispatches on the oneof variant ofcommonLinkand converts to the matchingLink.static io.temporal.api.common.v1.LinknexusLinkToLink(io.temporal.api.nexus.v1.Link nexusLink) Dispatches onLink.getType()and converts to the matchingLinkvariant.static io.temporal.api.common.v1.LinknexusLinkToNexusOperation(io.temporal.api.nexus.v1.Link nexusLink) static io.temporal.api.common.v1.LinknexusLinkToWorkflowEvent(io.temporal.api.nexus.v1.Link nexusLink) static io.temporal.api.nexus.v1.LinknexusOperationToNexusLink(io.temporal.api.common.v1.Link.NexusOperation no) static io.temporal.api.nexus.v1.LinkworkflowEventToNexusLink(io.temporal.api.common.v1.Link.WorkflowEvent we)
-
Constructor Details
-
LinkConverter
public LinkConverter()
-
-
Method Details
-
workflowEventToNexusLink
public static io.temporal.api.nexus.v1.Link workflowEventToNexusLink(io.temporal.api.common.v1.Link.WorkflowEvent we) -
nexusLinkToWorkflowEvent
public static io.temporal.api.common.v1.Link nexusLinkToWorkflowEvent(io.temporal.api.nexus.v1.Link nexusLink) -
linkToNexusLink
public static io.temporal.api.nexus.v1.Link linkToNexusLink(io.temporal.api.common.v1.Link commonLink) Dispatches on the oneof variant ofcommonLinkand converts to the matchingLink. Returnsnullif no variant is set or encoding fails. -
nexusLinkToLink
public static io.temporal.api.common.v1.Link nexusLinkToLink(io.temporal.api.nexus.v1.Link nexusLink) Dispatches onLink.getType()and converts to the matchingLinkvariant. Returnsnullfor unknown or unparseable types. -
nexusOperationToNexusLink
public static io.temporal.api.nexus.v1.Link nexusOperationToNexusLink(io.temporal.api.common.v1.Link.NexusOperation no) -
nexusLinkToNexusOperation
public static io.temporal.api.common.v1.Link nexusLinkToNexusOperation(io.temporal.api.nexus.v1.Link nexusLink)
-