Class PerformanceReport
java.lang.Object
com.day.cq.analytics.testandtarget.PerformanceReport
The
PerformanceReport contains performance reporting data about a single campaign-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(PerformanceReportItem item) Adds aPerformanceReportItemgetItems()Returns a list ofPerformanceReportItemReturns the total performance for all experience contained in this reportRetrieves the name of the winning experience or an empty string if there is no winning experience in the reportvoidsetWinningExperienceName(String experienceName) Sets the winning experience local id.
-
Constructor Details
-
PerformanceReport
public PerformanceReport()
-
-
Method Details
-
addItem
Adds aPerformanceReportItem- Parameters:
item- the item instance to add, must not benull
-
getItems
Returns a list ofPerformanceReportItem- Returns:
- an unmodifiable view over the experiences contained in this report
-
setWinningExperienceName
Sets the winning experience local id.- Parameters:
experienceName- aStringvalue representing the name of the winning experience
-
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
Returns the total performance for all experience contained in this reportThe
namefield will always be set to null- Returns:
- the total performance for all experience contained in this report
-