Module OpenWFE::CommandMixin
In: lib/openwfe/expressions/fe_command.rb

A mixin shared by ‘iterator’ and ‘cursor’ (‘loop’), simply provides the methods for looking up the "command" (break, skip, rewind, …) from the workitem and the process.

Methods

Included Modules

CommandConstants

Protected Instance methods

[Source]

    # File lib/openwfe/expressions/fe_command.rb, line 78
78:             def determine_command_and_step (workitem)
79: 
80:                 command_field = lookup_command_field workitem
81: 
82:                 command, step = lookup_command command_field, workitem
83: 
84:                 disallow_list = lookup_disallow workitem
85: 
86:                 command = nil \
87:                     if disallow_list and disallow_list.include?(command)
88: 
89:                 workitem.attributes.delete(command_field)
90: 
91:                 [ command, step ]
92:             end

[Validate]