Class BpmnParser

Hierarchy

  • BpmnParser

Constructors

Properties

mergeDedupeAndSort: any
parser: any
parserOptions: any
scanBpmnObjectForMessages: any

Return an array of message names.

Param

A parsed Bpmn object.

scanBpmnObjectForTasks: any

Return an array of task types.

Param

A parsed Bpmn object.

taskTypes: any

Methods

  • Generate TypeScript constants for task types and message names in BPMN files

    Parameters

    • filenames: string | string[]

      a BPMN file path or array of BPMN file paths

    Returns Promise<string>

  • Take one or more parsed BPMN objects and return an array of unique message names.

    Parameters

    • processes: object | object[]

      A parsed BPMN object, or an array of parsed BPMN objects.

    Returns Promise<string[]>

  • Parameters

    • bpmnString: string

    Returns any

  • Take one or more parsed BPMN objects and return an array of unique task types.

    Parameters

    • processes: object | object[]

      A parsed BPMN object, or an array of parsed BPMN objects.

    Returns Promise<string[]>

  • Read BPMN files and return an array of one or more parsed BPMN objects.

    Parameters

    • filenames: string | string[]

      A single BPMN file path, or array of BPMN file paths.

    Returns object

  • Parameters

    • filename: string

    Returns Promise<string>

Generated using TypeDoc