Module: Dynflow::World::TriggerResult

Defined in:
lib/dynflow/world.rb

Instance Method Summary collapse

Instance Method Details

#idObject



81
82
83
# File 'lib/dynflow/world.rb', line 81

def id
  execution_plan_id
end

#planned?Boolean

Returns:

  • (Boolean)


73
74
75
# File 'lib/dynflow/world.rb', line 73

def planned?
  match self, PlaningFailed => false, ExecutionFailed => true, Triggered => true
end

#triggered?Boolean

Returns:

  • (Boolean)


77
78
79
# File 'lib/dynflow/world.rb', line 77

def triggered?
  match self, PlaningFailed => false, ExecutionFailed => false, Triggered => true
end