Class PerformanceReportRequest
- java.lang.Object
-
- com.day.cq.analytics.testandtarget.PerformanceReportRequest
-
public class PerformanceReportRequest extends java.lang.Object
ThePerformanceReportRequest
encapsulates all needed data for aTestandtargetService.getPerformanceReport(com.day.cq.wcm.webservicesupport.Configuration, PerformanceReportRequest)
call
-
-
Constructor Summary
Constructors Constructor Description PerformanceReportRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PerformanceReportRequest
forCampaignId(long campaignId)
Creates a new instance for the specified campaignIdlong
getCampaignId()
java.util.Date
getEnd()
java.util.Map<java.lang.String,java.lang.String>
getParameters()
Gets the TnT report parameter map for this requestjava.util.Date
getStart()
java.lang.String
getStep()
java.lang.String
getSuccessMetric()
PerformanceReportRequest
setEnd(java.util.Date end)
PerformanceReportRequest
setStart(java.util.Date start)
PerformanceReportRequest
setStep(java.lang.String step)
PerformanceReportRequest
setSuccessMetric(java.lang.String successMetric)
-
-
-
Method Detail
-
forCampaignId
public static PerformanceReportRequest forCampaignId(long campaignId)
Creates a new instance for the specified campaignId- Parameters:
campaignId
- the id of the Test&Target campaign- Returns:
- a new request instance
-
setStart
public PerformanceReportRequest setStart(java.util.Date start)
-
setEnd
public PerformanceReportRequest setEnd(java.util.Date end)
-
setSuccessMetric
public PerformanceReportRequest setSuccessMetric(java.lang.String successMetric)
-
setStep
public PerformanceReportRequest setStep(java.lang.String step)
-
getSuccessMetric
public java.lang.String getSuccessMetric()
-
getStep
public java.lang.String getStep()
-
getCampaignId
public long getCampaignId()
-
getStart
public java.util.Date getStart()
-
getEnd
public java.util.Date getEnd()
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Gets the TnT report parameter map for this request- Returns:
- a
Map
containing the report request parameters
-
-