Options
All
  • Public
  • Public/Protected
  • All
Menu

Provenance Graph Tracker implementation

param

The provenance graph to track (this will serve as storage construct)

param

Optional parameter to set current node for importing a provenance graph that is non-empty

Hierarchy

  • ProvenanceTracker

Implements

Index

Constructors

constructor

Properties

Private _autoScreenShot

_autoScreenShot: boolean = false

Private _screenShotProvider

_screenShotProvider: IScreenShotProvider | null = null

acceptActions

acceptActions: boolean = true

When acceptActions is false, the Tracker will ignore calls to applyAction

Private graph

registry

Private username

username: string

Accessors

autoScreenShot

autoScreenShot:

screenShotProvider

screenShotProvider:

Methods

applyAction

  • applyAction(action: Action, skipFirstDoFunctionCall?: boolean): Promise<StateNode>
  • Calls the action.do function with action.doArguments. This will also create a new StateNode in the graph corresponding to the action taken. Optionally, the label set in action.metadata.label will be taken as the label for this node.

    Parameters

    • action: Action
    • Default value skipFirstDoFunctionCall: boolean = false

      If set to true, the do-function will not be called this time, it will only be called when traversing.

    Returns Promise<StateNode>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc