Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Workflow

Hierarchy

Index

Properties

Readonly data

Shared workflow data.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

Readonly hasNextStep

hasNextStep: boolean

This property indicates whether there is a next step in the workflow.

Read more...

Readonly hasPreviousStep

hasPreviousStep: boolean

This property indicates if there is a previous step in the workflow.

Read more...

initialized

initialized: boolean

Readonly started

started: boolean

Indicates whether the workflow is considered active.

Read more...

Readonly stepId

stepId: string

The name of the current step in the workflow.

Read more...

Readonly type

type: "create" | "update"

Value indicating the workflow type.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • _set<T>(propertyName: string, value: T): Workflow
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Workflow

cancel

  • cancel(): Promise<void>
  • Cancels the active workflow.

    Read more...

    Returns Promise<void>

commit

  • commit(): Promise<void>
  • Call this method when the workflow is considered finished.

    Read more...

    Returns Promise<void>

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

next

  • next(): Promise<void>
  • Moves to the next step in the workflow.

    Read more...

    Returns Promise<void>

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

previous

  • previous(): Promise<void>
  • Moves to the previous step in the workflow.

    Read more...

    Returns Promise<void>

reset

  • reset(): Promise<void>
  • Resets the workflow.

    Read more...

    Returns Promise<void>

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Workflow

  • Parameters

    Returns Workflow

start

  • start(): Promise<void>
  • Starts the workflow.

    Read more...

    Returns Promise<void>

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc