Class: WorkflowTreeItem

WorkflowTreeItem(label, id, collapsibleState, workflow, workspace, storiesCount)

Tree item representing a Shortcut workflow. The second level of the hierarchy that contains states. Displays the total number of stories in the workflow.

Constructor

new WorkflowTreeItem(label, id, collapsibleState, workflow, workspace, storiesCount)

Creates a new WorkflowTreeItem instance.

Parameters:
Name Type Description
label string

The display text for the workflow

id string

The unique identifier of the workflow

collapsibleState vscode.TreeItemCollapsibleState

Whether and how the workflow can be expanded

workflow Workflow

The workflow this tree item represents

workspace Workspace

The workspace containing this workflow

storiesCount number

Total number of stories in this workflow

Source:

Extends

Classes

TreeItem
WorkflowTreeItem