Class CMSCartConfigurationRestrictionEvaluator
java.lang.Object
de.hybris.platform.sap.productconfig.services.evaluator.CMSCartConfigurationRestrictionEvaluator
- All Implemented Interfaces:
CMSRestrictionEvaluator<CMSCartConfigurationRestrictionModel>
public class CMSCartConfigurationRestrictionEvaluator
extends Object
implements CMSRestrictionEvaluator<CMSCartConfigurationRestrictionModel>
This evaluator is attached to the configuration specific cart component. In our CPQ context, it always returns
'true'. Dependent extensions can register other evaluators and register them instead, to offer a more dynamic
behaviour.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMain method that evaluates given restriction.
-
Constructor Details
-
CMSCartConfigurationRestrictionEvaluator
public CMSCartConfigurationRestrictionEvaluator()
-
-
Method Details
-
evaluate
Description copied from interface:CMSRestrictionEvaluatorMain method that evaluates given restriction.- Specified by:
evaluatein interfaceCMSRestrictionEvaluator<CMSCartConfigurationRestrictionModel>- Parameters:
arg0- given restrictionarg1- all context information required to evaluate restriction- Returns:
truewhen restriction is matched otherwisefalse
-