Class DecisionScope
- java.lang.Object
-
- com.adobe.marketing.mobile.optimize.DecisionScope
-
public class DecisionScope extends Object
DecisionScopeclass represents a scope used to fetch personalized offers from the Experience Edge network.
-
-
Constructor Summary
Constructors Constructor Description DecisionScope(String name)Constructor creates aDecisionScopeusing the providedname.DecisionScope(String activityId, String placementId)Constructor creates aDecisionScopeusing the providedactivityIdandplacementId.DecisionScope(String activityId, String placementId, int itemCount)Constructor creates aDecisionScopeusing the providedactivityId,placementIdanditemCount.
-
-
-
Constructor Detail
-
DecisionScope
public DecisionScope(String name)
Constructor creates aDecisionScopeusing the providedname.- Parameters:
name-Stringcontaining scope name.
-
DecisionScope
public DecisionScope(String activityId, String placementId)
Constructor creates aDecisionScopeusing the providedactivityIdandplacementId.This constructor assumes the item count for the given scope to be 1.
- Parameters:
activityId-Stringcontaining activity identifier for the given scope.placementId-Stringcontaining placement identifier for the given scope.
-
DecisionScope
public DecisionScope(String activityId, String placementId, int itemCount)
Constructor creates aDecisionScopeusing the providedactivityId,placementIdanditemCount.- Parameters:
activityId-Stringcontaining activity identifier for the given scope.placementId-Stringcontaining placement identifier for the given scope.itemCount-Stringcontaining number of items to be returned for the given scope.
-
-