Skip to main content

Expander

An expanderExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. consists of 5 files:

  • An {Expander}.xml file, which contains the information on the expanderExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. needed by the expansion control layerLayerLogical separation of functionality within a single system/application, focused on code organization.
  • An {Expander}.stg file, which contains the template for the expanderExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact.. It uses StringTemplate 4 as templating engine.
  • An {Expander}Mapping.xml file, which describes the transformation of the raw input to a model used in the template.
  • An {Expander}Test.java file, which contains the unit tests.
  • An {Expander}Test.stg file, which contains templates used by the unit tests.

Expander settings​

  • The package name will be automatically filled in with the package you've selected when opening the form
  • ExpanderExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. names should be PascalCase and always end with 'ExpanderExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact.'
  • The element type can be one of the available elements or can be edited freely in case you are working with a custom meta-model
  • LayerLayerLogical separation of functionality within a single system/application, focused on code organization., Technology and SourceType will decide where the expanded artifactArtifactA build or deployment result, such as a Docker container image or Java archive, produced by a software project. will be located and when it will be expanded. E.g. DATA_LAYER expandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. will be skipped on option noDataLayer and KNOCKOUT expandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. will only be expanded if the technology is enabled
  • Settings chosen in the form can later be modified in the expanderExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. xml file if necessary