class Bizflow::SemanticModel::Process
Attributes
actions[RW]
description[RW]
name[RW]
start[RW]
Public Class Methods
new(name)
click to toggle source
# File lib/bizflow/semantic_model/process.rb, line 8 def initialize(name) @name = name @actions = [] @roles = [] end
Public Instance Methods
add_action(action)
click to toggle source
# File lib/bizflow/semantic_model/process.rb, line 14 def add_action(action) actions << action end
input_actions()
click to toggle source
# File lib/bizflow/semantic_model/process.rb, line 22 def input_actions actions.select { |acc| acc.type == "input"} end
task_actions()
click to toggle source
# File lib/bizflow/semantic_model/process.rb, line 18 def task_actions actions.select { |acc| acc.type == "task" } end