Class: ArcFurnace::Pipeline::PipelineInstance
- Inherits:
-
Object
- Object
- ArcFurnace::Pipeline::PipelineInstance
- Defined in:
- lib/arc-furnace/pipeline.rb
Instance Attribute Summary collapse
-
#dsl_class ⇒ Object
readonly
Returns the value of attribute dsl_class.
-
#error_handler ⇒ Object
readonly
Returns the value of attribute error_handler.
-
#intermediates_map ⇒ Object
readonly
Returns the value of attribute intermediates_map.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#sink_node ⇒ Object
readonly
Returns the value of attribute sink_node.
-
#sink_source ⇒ Object
readonly
Returns the value of attribute sink_source.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(dsl_class, error_handler: ErrorHandler.new, **params) ⇒ PipelineInstance
constructor
A new instance of PipelineInstance.
Constructor Details
#initialize(dsl_class, error_handler: ErrorHandler.new, **params) ⇒ PipelineInstance
Returns a new instance of PipelineInstance.
139 140 141 142 143 144 |
# File 'lib/arc-furnace/pipeline.rb', line 139 def initialize(dsl_class, error_handler: ErrorHandler.new, **params) @dsl_class = dsl_class @params = params @intermediates_map = {} @error_handler = error_handler end |
Instance Attribute Details
#dsl_class ⇒ Object (readonly)
Returns the value of attribute dsl_class.
137 138 139 |
# File 'lib/arc-furnace/pipeline.rb', line 137 def dsl_class @dsl_class end |
#error_handler ⇒ Object (readonly)
Returns the value of attribute error_handler.
137 138 139 |
# File 'lib/arc-furnace/pipeline.rb', line 137 def error_handler @error_handler end |
#intermediates_map ⇒ Object (readonly)
Returns the value of attribute intermediates_map.
137 138 139 |
# File 'lib/arc-furnace/pipeline.rb', line 137 def intermediates_map @intermediates_map end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
137 138 139 |
# File 'lib/arc-furnace/pipeline.rb', line 137 def params @params end |
#sink_node ⇒ Object (readonly)
Returns the value of attribute sink_node.
137 138 139 |
# File 'lib/arc-furnace/pipeline.rb', line 137 def sink_node @sink_node end |
#sink_source ⇒ Object (readonly)
Returns the value of attribute sink_source.
137 138 139 |
# File 'lib/arc-furnace/pipeline.rb', line 137 def sink_source @sink_source end |
Instance Method Details
#execute ⇒ Object
146 147 148 149 150 |
# File 'lib/arc-furnace/pipeline.rb', line 146 def execute build prepare run end |