Class ContextRules
java.lang.Object
com.priint.pubserver.comet.bridge.contextrule.ContextRules
The Class ContextRules.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContextRulescreate(String assortmentRule, String countryRule, String documentIdRule, String languageRule, String marketNameRule, String publicationRule, String targetGroupRule, String wellRule) Creates new ContextRules object, and set the values from paramsstatic ContextRulesCreates the empty.Gets the assortment rule.Gets the country rule.Gets the document id rule.Gets the language rule.Gets the market name rule.Gets the publication rule.Gets the target group rule.Gets the well rule.voidsetAssortmentRule(String assortmentRule) Sets the assortment rule.voidsetCountryRule(String countryRule) Sets the country rule.voidsetDocumentIdRule(String documentIdRule) Sets the document id rule.voidsetLanguageRule(String languageRule) Sets the language rule.voidsetMarketNameRule(String marketNameRule) Sets the market name rule.voidsetPublicationRule(String publicationRule) Sets the publication rule.voidsetTargetGroupRule(String targetGroupRule) Sets the target group rule.voidsetWellRule(String wellRule) Sets the well rule.
-
Method Details
-
create
public static ContextRules create(String assortmentRule, String countryRule, String documentIdRule, String languageRule, String marketNameRule, String publicationRule, String targetGroupRule, String wellRule) Creates new ContextRules object, and set the values from params- Parameters:
assortmentRule- the assortment rulecountryRule- the country ruledocumentIdRule- the document id rulelanguageRule- the language rulemarketNameRule- the market name rulepublicationRule- the publication ruletargetGroupRule- the target group rulewellRule- the well rule- Returns:
- the context rules
-
createEmpty
Creates the empty.- Returns:
- the context rules
-
getAssortmentRule
Gets the assortment rule.- Returns:
- the assortment rule
-
setAssortmentRule
Sets the assortment rule.- Parameters:
assortmentRule- the new assortment rule
-
getCountryRule
Gets the country rule.- Returns:
- the country rule
-
setCountryRule
Sets the country rule.- Parameters:
countryRule- the new country rule
-
getDocumentIdRule
Gets the document id rule.- Returns:
- the document id rule
-
setDocumentIdRule
Sets the document id rule.- Parameters:
documentIdRule- the new document id rule
-
getLanguageRule
Gets the language rule.- Returns:
- the language rule
-
setLanguageRule
Sets the language rule.- Parameters:
languageRule- the new language rule
-
getMarketNameRule
Gets the market name rule.- Returns:
- the market name rule
-
setMarketNameRule
Sets the market name rule.- Parameters:
marketNameRule- the new market name rule
-
getPublicationRule
Gets the publication rule.- Returns:
- the publication rule
-
setPublicationRule
Sets the publication rule.- Parameters:
publicationRule- the new publication rule
-
getTargetGroupRule
Gets the target group rule.- Returns:
- the target group rule
-
setTargetGroupRule
Sets the target group rule.- Parameters:
targetGroupRule- the new target group rule
-
getWellRule
Gets the well rule.- Returns:
- the well rule
-
setWellRule
Sets the well rule.- Parameters:
wellRule- the new well rule
-