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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classHandles updates of the coordination model. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Map<net.ssehub.easy.varModel.confModel.Configuration, net.ssehub.easy.instantiation.rt.core.model.confModel.AdaptiveConfiguration<IvmlElementIdentifier.ObservableTuple>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstoreValueBinding(net.ssehub.easy.instantiation.core.model.vilTypes.configuration.Configuration configuration, Map<String, Object> bindings) Binds the values of the given mapping to the configuration.static voidstoreValueBinding(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 callsstoreValueBinding(Configuration, Map).
-
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 mappingbindings- 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 callsstoreValueBinding(Configuration, Map).- Parameters:
configuration- The configuration, which shall receive the new values from the mappingbindings- The new values to set in form of<id for a (nested) variable, value>
-