Class: Bosh::Director::DeploymentPlan::RuntimeManifestParser

Inherits:
Object
  • Object
show all
Includes:
ValidationHelper
Defined in:
lib/bosh/director/deployment_plan/runtime_manifest_parser.rb

Instance Method Summary collapse

Methods included from ValidationHelper

#safe_property

Constructor Details

#initialize(logger, deployment = nil) ⇒ RuntimeManifestParser

Returns a new instance of RuntimeManifestParser.



6
7
8
9
# File 'lib/bosh/director/deployment_plan/runtime_manifest_parser.rb', line 6

def initialize(logger, deployment=nil)
  @deployment = deployment
  @logger = logger
end

Instance Method Details

#parse(runtime_manifest) ⇒ Object



11
12
13
14
# File 'lib/bosh/director/deployment_plan/runtime_manifest_parser.rb', line 11

def parse(runtime_manifest)
  parse_releases(runtime_manifest)
  parse_addons(runtime_manifest)
end