Interface CxTriggerStrategy
-
- All Known Implementing Classes:
CxDefaultTriggerStrategy,DefaultSegmentTriggerStrategy,ExpressionTriggerStrategy
public interface CxTriggerStrategyInterface for all strategies that triggers variation for users
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<CxVariationModel>getVariations(UserModel user, CatalogVersionModel catalogVersion)Returns a collection of varations from given catalog for given user.
-
-
-
Method Detail
-
getVariations
java.util.Collection<CxVariationModel> getVariations(UserModel user, CatalogVersionModel catalogVersion)
Returns a collection of varations from given catalog for given user. Way of finding this relation depends on strategy implementation.- Parameters:
user- for which variation should be triggeredcatalogVersion- from which variations should be selected- Returns:
- collection of variations for given user (may be empty)
-
-