Class BindValuesInstantiator

java.lang.Object
eu.qualimaster.easy.extension.internal.BindValuesInstantiator
All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IVilType

public class BindValuesInstantiator extends Object implements net.ssehub.easy.instantiation.core.model.vilTypes.IVilType
RtVil Instantiator to bind a runtime mapping to Configuration.
Author:
El-Sharkawy
  • Field Details

    • configMapping

      private static Map<net.ssehub.easy.varModel.confModel.Configuration,net.ssehub.easy.instantiation.rt.core.model.confModel.AdaptiveConfiguration<IvmlElementIdentifier.ObservableTuple>> configMapping
  • Constructor Details

    • BindValuesInstantiator

      public BindValuesInstantiator()
  • Method Details

    • storeValueBinding

      public static void storeValueBinding(net.ssehub.easy.instantiation.core.model.vilTypes.configuration.Configuration configuration, Map<String,Object> bindings)
      Binds the values of the given mapping to the configuration.
      Parameters:
      configuration - The configuration, which shall receive the new values from the mapping
      bindings - The new values to set in form of <id for a (nested) variable, value>
    • storeValueBinding

      public static void storeValueBinding(net.ssehub.easy.instantiation.core.model.vilTypes.configuration.Configuration configuration, net.ssehub.easy.instantiation.core.model.vilTypes.Map<String,Object> bindings)
      Converts and Vil-Map into a Java-Map and calls storeValueBinding(Configuration, Map).
      Parameters:
      configuration - The configuration, which shall receive the new values from the mapping
      bindings - The new values to set in form of <id for a (nested) variable, value>