Skip to content

//workflow/com.squareup.workflow1/ImpostorWorkflow

ImpostorWorkflow

[jvm] interface ImpostorWorkflow

Optional interface that Workflows should implement if they need the runtime to consider their identity to include a child workflow’s identity. Two ImpostorWorkflows with the same concrete class, but different realIdentifiers will be considered different workflows by the runtime.

This is intended to be used for helper workflows that implement things like operators by wrapping and delegating to other workflows, and which need to be able to express that the identity of the operator workflow is derived from the identity of the wrapped workflow.

Functions

Name Summary
describeRealIdentifier [jvm]
Content
open fun describeRealIdentifier(): String?
More info
Returns a string that describes how this workflow is related to realIdentifier.


Properties

Name Summary
realIdentifier [jvm] abstract val realIdentifier: WorkflowIdentifierThe WorkflowIdentifier of another workflow to be combined with the identifier of this workflow, as obtained by Workflow.identifier.