Class: OpenStudio::Workflow::Adapter
- Inherits:
-
Object
- Object
- OpenStudio::Workflow::Adapter
show all
- Defined in:
- lib/openstudio/workflow/adapter.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(options = {}) ⇒ Adapter
26
27
28
29
|
# File 'lib/openstudio/workflow/adapter.rb', line 26
def initialize(options = {})
@options = options
@log = nil
end
|
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
24
25
26
|
# File 'lib/openstudio/workflow/adapter.rb', line 24
def options
@options
end
|
Instance Method Details
#communicate_complete(id) ⇒ Object
54
55
56
|
# File 'lib/openstudio/workflow/adapter.rb', line 54
def communicate_complete(id)
instance.communicate_complete id
end
|
#communicate_failure(id) ⇒ Object
58
59
60
|
# File 'lib/openstudio/workflow/adapter.rb', line 58
def communicate_failure(id)
instance.communicate_failure id
end
|
#communicate_results(id, results) ⇒ Object
50
51
52
|
# File 'lib/openstudio/workflow/adapter.rb', line 50
def communicate_results(id, results)
instance.communicate_results id, results
end
|
#communicate_started(id, _options = {}) ⇒ Object
38
39
40
|
# File 'lib/openstudio/workflow/adapter.rb', line 38
def communicate_started(id, _options = {})
instance.communicate_started id
end
|
#get_datapoint(id, options = {}) ⇒ Object
42
43
44
|
# File 'lib/openstudio/workflow/adapter.rb', line 42
def get_datapoint(id, options = {})
instance.get_datapoint id, options
end
|
#get_logger(file, options = {}) ⇒ Object
62
63
64
|
# File 'lib/openstudio/workflow/adapter.rb', line 62
def get_logger(file, options = {})
instance.get_logger file, options
end
|
#get_problem(id, options = {}) ⇒ Object
46
47
48
|
# File 'lib/openstudio/workflow/adapter.rb', line 46
def get_problem(id, options = {})
instance.get_problem id, options
end
|
#load(filename, options = {}) ⇒ Object
class << self attr_reader :problem
34
35
36
|
# File 'lib/openstudio/workflow/adapter.rb', line 34
def load(filename, options = {})
instance.load(filename, options)
end
|