class Libis::Workflow::WorkItem
In-memory implementation of ::Libis::Workflow::Base::WorkItem
Attributes
items[RW]
options[RW]
parent[RW]
properties[RW]
status_log[RW]
summary[RW]
Public Class Methods
new()
click to toggle source
# File lib/libis/workflow/work_item.rb, line 17 def initialize self.parent = nil self.items = [] self.options = {} self.properties = {} self.status_log = [] self.summary = {} end
Public Instance Methods
save()
click to toggle source
# File lib/libis/workflow/work_item.rb, line 26 def save end
save!()
click to toggle source
# File lib/libis/workflow/work_item.rb, line 29 def save! end
Protected Instance Methods
add_status_log(info)
click to toggle source
# File lib/libis/workflow/work_item.rb, line 34 def add_status_log(info) # noinspection RubyResolve self.status_log << info self.status_log.last end
save_log_entry(_log_entry)
click to toggle source
# File lib/libis/workflow/work_item.rb, line 40 def save_log_entry(_log_entry) self.save! end