Interface EvaluationFactory
- All Known Implementing Classes:
- EvaluationFactoryImpl
public interface EvaluationFactory
Factory to create 
PromotionEvaluation instances
 for different evaluation situations.- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptioncreateEvaluation(Input input) create a collection of evaluations for a specificInputcreateEvaluation(InputData data) create an evaluation for a specificInputDatacreateEvaluations(Evaluation evaluation) create a collection of evaluations for a specificEvaluationcreatePromotionFromScaffold(EvaluationFactory.PromotionScaffold promotionScaffold) create an evaluation from previously setup datadefault List<EvaluationFactory.PromotionScaffold> createPromotionScaffolds(Evaluation rootEvaluation) createPromotionScaffolds(Evaluation rootEvaluation, Predicate<Entity> participantFilter) gather all information needed to buildPromotionEvaluationfor aEvaluationthis can be used for instance when wanting to use PromotionEvaluations in different persist contexts, since no Entities are used herecreatePromotionsFromScaffolds(Iterable<EvaluationFactory.PromotionScaffold> promotionScaffolds) create evaluations from previously setup data
- 
Method Details- 
createEvaluationcreate an evaluation for a specificInputData
- 
createEvaluationscreate a collection of evaluations for a specificEvaluation
- 
createEvaluationcreate a collection of evaluations for a specificInput
- 
createPromotionScaffoldsdefault List<EvaluationFactory.PromotionScaffold> createPromotionScaffolds(Evaluation rootEvaluation) - See Also:
 
- 
createPromotionScaffoldsList<EvaluationFactory.PromotionScaffold> createPromotionScaffolds(Evaluation rootEvaluation, Predicate<Entity> participantFilter) gather all information needed to buildPromotionEvaluationfor aEvaluationthis can be used for instance when wanting to use PromotionEvaluations in different persist contexts, since no Entities are used here
- 
createPromotionFromScaffoldPromotionEvaluation createPromotionFromScaffold(EvaluationFactory.PromotionScaffold promotionScaffold) create an evaluation from previously setup data
- 
createPromotionsFromScaffoldsList<PromotionEvaluation> createPromotionsFromScaffolds(Iterable<EvaluationFactory.PromotionScaffold> promotionScaffolds) create evaluations from previously setup data
 
-