Skip to content

//workflow/com.squareup.workflow1/TreeSnapshot/Companion

Companion

[jvm] object Companion

Functions

Name Summary
forRootOnly [jvm]
Content
fun forRootOnly(rootSnapshot: Snapshot?): TreeSnapshot
More info
Returns a TreeSnapshot that only contains a Snapshot for the root workflow, and no child snapshots.


parse [jvm]
Content
fun parse(bytes: ByteString): TreeSnapshot
More info
Parses a “root” snapshot and the list of child snapshots with associated WorkflowNodeIds from a ByteString returned by toByteString.