Class VariableConfigProviderFactory
java.lang.Object
net.ssehub.easy.varModel.confModel.VariableConfigProviderFactory
Factory class for creating
VariableConfigProviders.
The correct VariableConfigProvider will be created depending whether the related IDecisionVariable
is a nested inside a compound/container or directly inside the configuration.- Author:
- El-Sharkawy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static VariableConfigProvidercreateDelegate(IDecisionVariable relatedVariable) Returns the correctVariableConfigProviderdepending on the relatedIDecisionVariable.
-
Constructor Details
-
VariableConfigProviderFactory
VariableConfigProviderFactory()
-
-
Method Details
-
createDelegate
Returns the correctVariableConfigProviderdepending on the relatedIDecisionVariable.- Parameters:
relatedVariable- TheIDecisionVariablewhich will use thisVariableConfigProvider.- Returns:
- The correct
VariableConfigProviderdepending on the relatedIDecisionVariable(must not be null.
-