Class Ruote::ProcessStatus
In: lib/ruote/engine/process_status.rb
Parent: Object

A ‘view’ on the status of a process instance.

Returned by the process and the processes methods of the Engine.

Methods

Attributes

errors  [R]  An array of errors currently plaguing the process instance. Hopefully, this array is empty.
expressions  [R]  The expressions that compose the process instance.

Public Class methods

Public Instance methods

Returns a hash tagname => array of feis of all the tags set in the process instance.

Returns a hash fei => variable_hash containing all the variable bindings (expression by expression) of the process instance.

Returns the current version of the process definition tree. If no manipulation (gardening) was performed on the tree, this method yields the same result as the original_tree method.

Returns a Time instance indicating when the process instance was launched.

Returns the process definition tree as it was when this process instance was launched.

Returns the expression at the root of the process instance.

Given an expression id, returns the root (top ancestor) for its expression.

Returns a list of all the expressions that have no parent expression. The list is sorted with the deeper (closer to the original root) first.

Returns a hash tagname => fei of tags set at the root of the process instance.

Returns the process variables set for this process instance.

Returns the unique identifier for this process instance.

Protected Instance methods

[Validate]