Class: DTK::DSL::Template::V1

Inherits:
DTK::DSL::Template show all
Defined in:
lib/dsl/template/v1.rb,
lib/dsl/template/v1/node.rb,
lib/dsl/template/v1/assembly.rb,
lib/dsl/template/v1/workflow.rb,
lib/dsl/template/v1/attribute.rb,
lib/dsl/template/v1/component.rb,
lib/dsl/template/v1/dependency.rb,
lib/dsl/template/v1/module_ref.rb,
lib/dsl/template/v1/common_module.rb,
lib/dsl/template/v1/component_def.rb,
lib/dsl/template/v1/component_link.rb,
lib/dsl/template/v1/node_attribute.rb,
lib/dsl/template/v1/service_instance.rb,
lib/dsl/template/v1/node/semantic_parse.rb,
lib/dsl/template/v1/common_module_summary.rb,
lib/dsl/template/v1/service_module_summary.rb,
lib/dsl/template/v1/workflow/semantic_parse.rb,
lib/dsl/template/v1/attribute/semantic_parse.rb,
lib/dsl/template/v1/component/semantic_parse.rb,
lib/dsl/template/v1/component_def/semantic_parse.rb,
lib/dsl/template/v1/component_link/semantic_parse.rb,
lib/dsl/template/v1/node_attribute/semantic_parse.rb

Defined Under Namespace

Classes: Assembly, Attribute, CommonModule, CommonModuleSummary, Component, ComponentDef, ComponentLink, Dependency, ModuleRef, Node, NodeAttribute, ServiceInstance, ServiceModuleSummary, Workflow

Constant Summary collapse

VERSION =
1

Instance Attribute Summary

Attributes included from NestedDSLFile::Mixin

#nested_file_content

Attributes included from Generation::Mixin

#filter, #top

Attributes included from Parsing::Mixin

#file_obj, #parent_key

Instance Method Summary collapse

Methods inherited from DTK::DSL::Template

#add, create_for_generation, create_for_parsing, #initialize, #merge, #req, #set, #set?, #val

Methods included from Parsing::ClassMixin

#elements_collection_type, #file_parser_output_array, #file_parser_output_hash, #parse_element, #parse_elements

Methods included from Generation::ClassMixin

#generate_elements

Methods included from Generation::Mixin

#generate!, #generate?, #generate_yaml_file_path__content_array, #generate_yaml_object, #generate_yaml_object?, #generate_yaml_text, #yaml_object_type

Methods included from Parsing::Mixin

#parse, #parser_output_type, #parsing_error

Constructor Details

This class inherits a constructor from DTK::DSL::Template

Instance Method Details

#dsl_versionObject



43
44
45
# File 'lib/dsl/template/v1.rb', line 43

def dsl_version
  '1.0.0'
end

#template_versionObject



39
40
41
# File 'lib/dsl/template/v1.rb', line 39

def template_version
  VERSION
end