class Bizflow::TaskActionInterpreter
Attributes
action[RW]
Public Class Methods
new(name)
click to toggle source
# File lib/bizflow/interpreters/task_action_interpreter.rb, line 9 def initialize(name) @action = Bizflow::SemanticModel::TaskAction.new(name) end
Public Instance Methods
description(description)
click to toggle source
# File lib/bizflow/interpreters/task_action_interpreter.rb, line 17 def description(description) action.description = description end
input_task(name, options)
click to toggle source
# File lib/bizflow/interpreters/task_action_interpreter.rb, line 25 def input_task(name, options) task(name, options) end
next_action(name)
click to toggle source
# File lib/bizflow/interpreters/task_action_interpreter.rb, line 13 def next_action(name) action.next_action = name end
task(name, options)
click to toggle source
# File lib/bizflow/interpreters/task_action_interpreter.rb, line 21 def task(name, options) action.add_task(Bizflow::SemanticModel::Task.new(name, options)) end