Class DefaultPDTProcessorChainExecutor<VALUE extends PDTValue,INFO extends PDTInformation,CRITERIA extends PDTCriteria>
java.lang.Object
de.hybris.platform.order.strategies.calculation.pdt.processor.impl.DefaultPDTProcessorChainExecutor<VALUE,INFO,CRITERIA>
- Type Parameters:
VALUE- the generic type for price/discount/tax value.INFO- the generic type for price/discount/tax information.CRITERIA- the generic type for price/discount/tax criteria.
- All Implemented Interfaces:
FindPDTValueInfoStrategy<VALUE,INFO, CRITERIA>
public class DefaultPDTProcessorChainExecutor<VALUE extends PDTValue,INFO extends PDTInformation,CRITERIA extends PDTCriteria>
extends Object
implements FindPDTValueInfoStrategy<VALUE,INFO,CRITERIA>
Class is used to manage the execution of a set of PDTprocessors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPDTInformation(CRITERIA criteria) Gets the price/discount/tax information.getPDTValues(CRITERIA criteria) Gets the price/discount/tax values.voidsetPdtProcessors(List<PDTProcessor> pdtProcessors)
-
Constructor Details
-
DefaultPDTProcessorChainExecutor
public DefaultPDTProcessorChainExecutor()
-
-
Method Details
-
getPDTValues
Description copied from interface:FindPDTValueInfoStrategyGets the price/discount/tax values.- Specified by:
getPDTValuesin interfaceFindPDTValueInfoStrategy<VALUE extends PDTValue,INFO extends PDTInformation, CRITERIA extends PDTCriteria> - Parameters:
criteria- the price/discount/tax criteria.- Returns:
- the price/discount/tax values.
- Throws:
CalculationException- the calculation exception
-
getPDTInformation
Description copied from interface:FindPDTValueInfoStrategyGets the price/discount/tax information.- Specified by:
getPDTInformationin interfaceFindPDTValueInfoStrategy<VALUE extends PDTValue,INFO extends PDTInformation, CRITERIA extends PDTCriteria> - Parameters:
criteria- the price/discount/tax criteria.- Returns:
- the price/discount/tax information.
- Throws:
CalculationException- the calculation exception
-
setPdtProcessors
-