Class PerformanceReport

java.lang.Object
com.day.cq.analytics.testandtarget.PerformanceReport

public class PerformanceReport extends Object
The PerformanceReport contains performance reporting data about a single campaign
  • Constructor Details

    • PerformanceReport

      public PerformanceReport()
  • Method Details

    • addItem

      public void addItem(PerformanceReportItem item)
      Parameters:
      item - the item instance to add, must not be null
    • getItems

      public List<PerformanceReportItem> getItems()
      Returns a list of PerformanceReportItem
      Returns:
      an unmodifiable view over the experiences contained in this report
    • setWinningExperienceName

      public void setWinningExperienceName(String experienceName)
      Sets the winning experience local id.
      Parameters:
      experienceName - a String value representing the name of the winning experience
    • getWinningExperienceName

      public String getWinningExperienceName()
      Retrieves the name of the winning experience or an empty string if there is no winning experience in the report
      Returns:
      a string representation of the winning experience
    • getTotalPerformance

      public PerformanceReportItem getTotalPerformance()
      Returns the total performance for all experience contained in this report

      The name field will always be set to null

      Returns:
      the total performance for all experience contained in this report