Class AbstractIvmlModifier.InstantiationContext

java.lang.Object
de.iip_ecosphere.platform.configuration.ivml.AbstractIvmlModifier.InstantiationContext
Enclosing class:
AbstractIvmlModifier

private static class AbstractIvmlModifier.InstantiationContext extends Object
Represents runtime (collected) information steering the template instantiation.
Author:
Holger Eichelberger, SSE
  • Field Details

    • adjustments

      private Map<String,String> adjustments
    • modified

      private Set<net.ssehub.easy.varModel.model.Project> modified
    • substitutions

      private Map<net.ssehub.easy.varModel.model.AbstractVariable,net.ssehub.easy.varModel.model.AbstractVariable> substitutions
    • meshes

      private List<net.ssehub.easy.varModel.confModel.IDecisionVariable> meshes
    • currentTemplateVariable

      private String currentTemplateVariable
    • appPrefix

      private String appPrefix
    • targetProject

      private net.ssehub.easy.varModel.model.Project targetProject
    • enableNameAdjustment

      private boolean enableNameAdjustment
  • Constructor Details

    • InstantiationContext

      private InstantiationContext(Map<String,String> adjustments)
      Creates an instantiation context with given adjustments.
      Parameters:
      adjustments - the adjustments
  • Method Details

    • getMeshNames

      private List<String> getMeshNames()
      Returns the names of the meshes created in this context.
      Returns:
      the names of the meshes
    • getCurrentTemplateVariableName

      private String getCurrentTemplateVariableName()
      Returns the name of the current template variable being processed.
      Returns:
      the name of the variable or empty if unset
    • prefixVarName

      private String prefixVarName(String name)
      Prefix an IVML variable name with the appPrefix.
      Parameters:
      name - the name to prefix
      Returns:
      the prefixed name if appPrefix is set