Class: ManageIQ::Floe::Workflow::States::Succeed
- Inherits:
-
ManageIQ::Floe::Workflow::State
- Object
- ManageIQ::Floe::Workflow::State
- ManageIQ::Floe::Workflow::States::Succeed
- Defined in:
- lib/manageiq/floe/workflow/states/succeed.rb
Instance Attribute Summary collapse
-
#input_path ⇒ Object
readonly
Returns the value of attribute input_path.
-
#output_path ⇒ Object
readonly
Returns the value of attribute output_path.
Attributes inherited from ManageIQ::Floe::Workflow::State
#comment, #name, #payload, #type, #workflow
Instance Method Summary collapse
- #end? ⇒ Boolean
-
#initialize(workflow, name, payload) ⇒ Succeed
constructor
A new instance of Succeed.
Methods inherited from ManageIQ::Floe::Workflow::State
build!, #context, #run!, #to_dot, #to_dot_transitions
Methods included from Logging
Constructor Details
#initialize(workflow, name, payload) ⇒ Succeed
Returns a new instance of Succeed.
10 11 12 13 14 15 |
# File 'lib/manageiq/floe/workflow/states/succeed.rb', line 10 def initialize(workflow, name, payload) super @input_path = Path.new(payload.fetch("InputPath", "$")) @output_path = Path.new(payload.fetch("OutputPath", "$")) end |
Instance Attribute Details
#input_path ⇒ Object (readonly)
Returns the value of attribute input_path.
8 9 10 |
# File 'lib/manageiq/floe/workflow/states/succeed.rb', line 8 def input_path @input_path end |
#output_path ⇒ Object (readonly)
Returns the value of attribute output_path.
8 9 10 |
# File 'lib/manageiq/floe/workflow/states/succeed.rb', line 8 def output_path @output_path end |
Instance Method Details
#end? ⇒ Boolean
17 18 19 |
# File 'lib/manageiq/floe/workflow/states/succeed.rb', line 17 def end? true # TODO: Handle if this is ending a parallel or map state end |