Class: OpenStudio::Workflow::Job
- Inherits:
-
Object
- Object
- OpenStudio::Workflow::Job
- Defined in:
- lib/openstudio/workflow/job.rb
Direct Known Subclasses
RunEnergyPlus, RunEnergyPlusMeasures, RunInitialization, RunOpenStudioMeasures, RunPostprocess, RunPreprocess, RunReportingMeasures, RunTranslation
Instance Method Summary collapse
-
#initialize(input_adapter, output_adapter, registry, options = {}) ⇒ Job
constructor
A new instance of Job.
Constructor Details
#initialize(input_adapter, output_adapter, registry, options = {}) ⇒ Job
Returns a new instance of Job.
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/openstudio/workflow/job.rb', line 11 def initialize(input_adapter, output_adapter, registry, = {}) @options = @input_adapter = input_adapter @output_adapter = output_adapter @registry = registry @logger = @registry[:logger] @results = {} @logger.debug "#{self.class} passed the following options #{@options}" @logger.debug "#{self.class} passed the following registry #{@registry.to_hash}" if @options[:debug] end |