Class: StateTreeItem

StateTreeItem#StateTreeItem(label, id, state, collapsibleState, workspace, storiesCount)

new StateTreeItem(label, id, state, collapsibleState, workspace, storiesCount)

Creates a new StateTreeItem instance.

Parameters:
Name Type Description
label string

The display text for the state

id string

The unique identifier of the state

state WorkflowState

The workflow state this tree item represents

collapsibleState vscode.TreeItemCollapsibleState

Whether and how the state can be expanded

workspace Workspace

The workspace containing this state

storiesCount number

Number of stories in this state

Source: