internal package Foswiki::Plugins::WorkflowPlugin::Workflow

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::Plugins::WorkflowPlugin::Workflow

This object represents a workflow definition.

ClassMethod getWorkflow($web, $topic) → $workflow

Get the workflow object for the workflow described in the given topic.

ObjectMethod getTransitions($statename) → @transitions

Get all the transitions (transition table rows) from the given given state.

ObjectMethod getTransition($statename, $action) → \%transition

Get the transition (tranbsition table row) matching the given current state and action

ObjectMethod getState($name) → \%state

Get the hash (state table row) that describes the named state

ObjectMethod getDefaultState() → $stateName

Get the name of the default state

This topic: System > Category > DeveloperDocumentationCategory > PerlDoc
Topic revision: 03 Feb 2016, UnknownUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding DAMASK? Send feedback