Class: Bosh::Director::JobUpdaterFactory
- Defined in:
- lib/bosh/director/job_updater_factory.rb
Instance Method Summary collapse
-
#initialize(blobstore) ⇒ JobUpdaterFactory
constructor
A new instance of JobUpdaterFactory.
- #new_job_updater(deployment_plan, job) ⇒ Object
Constructor Details
#initialize(blobstore) ⇒ JobUpdaterFactory
Returns a new instance of JobUpdaterFactory.
3 4 5 |
# File 'lib/bosh/director/job_updater_factory.rb', line 3 def initialize(blobstore) @blobstore = blobstore end |
Instance Method Details
#new_job_updater(deployment_plan, job) ⇒ Object
7 8 9 10 |
# File 'lib/bosh/director/job_updater_factory.rb', line 7 def new_job_updater(deployment_plan, job) job_renderer = JobRenderer.new(job, @blobstore) JobUpdater.new(deployment_plan, job, job_renderer) end |