a fallback object representing a plan with some corrupted data, preventing to load the whole plan properly, this can be used for presenting at least some data and not running into internal server errors
# File lib/dynflow/execution_plan.rb, line 16 def initialize(exception, id, label, state, started_at = nil, ended_at = nil, execution_time = nil, real_time = nil, execution_history = nil) @exception = exception @id = id @label = label || 'N/A' @state = state @started_at = started_at @ended_at = ended_at @execution_time = execution_time @real_time = real_time @execution_history = execution_history || [] end
# File lib/dynflow/execution_plan.rb, line 34 def result 'N/A' end
# File lib/dynflow/execution_plan.rb, line 30 def valid? false end