Class DecisionScope

  • All Implemented Interfaces:

    
    public class DecisionScope
    
                        

    DecisionScope class represents a scope used to fetch personalized offers from the Experience Edge network.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final String name
    • Constructor Summary

      Constructors 
      Constructor Description
      DecisionScope(String name) Constructor creates a DecisionScope using the provided name.
      DecisionScope(String activityId, String placementId) Constructor creates a DecisionScope using the provided activityId and placementId.
      DecisionScope(String activityId, String placementId, int itemCount) Constructor creates a DecisionScope using the provided activityId, placementId and itemCount.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName() Gets the name for this scope.
      boolean equals(Object o)
      int hashCode()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DecisionScope

        DecisionScope(String name)
        Constructor creates a DecisionScope using the provided name.
        Parameters:
        name - String containing scope name.
      • DecisionScope

        DecisionScope(String activityId, String placementId)
        Constructor creates a DecisionScope using the provided activityId and placementId.
        Parameters:
        activityId - String containing activity identifier for the given scope.
        placementId - String containing placement identifier for the given scope.
      • DecisionScope

        DecisionScope(String activityId, String placementId, int itemCount)
        Constructor creates a DecisionScope using the provided activityId, placementId and itemCount.
        Parameters:
        activityId - String containing activity identifier for the given scope.
        placementId - String containing placement identifier for the given scope.
        itemCount - String containing number of items to be returned for the given scope.