Package org.apache.unomi.api.campaigns
Class CampaignDetail
java.lang.Object
org.apache.unomi.api.campaigns.CampaignDetail
Details about a
Campaign
.
Created by kevan on 03/06/15.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the associated campaign.long
Retrieves the number of campaign session successes.long
Retrieves the number of campaign session views.double
Retrieves the conversion rate.long
Retrieves the number of engaged profiles.long
Retrieves the number of goals.void
setCampaign
(Campaign campaign) Sets the associated campaign.void
setCampaignSessionSuccess
(long campaignSessionSuccess) Sets the number of campaign session successes.void
setCampaignSessionViews
(long campaignSessionViews) Sets the number of campaign session views.void
setConversionRate
(double conversionRate) Sets the conversion rate.void
setEngagedProfiles
(long engagedProfiles) Sets the number of engaged profiles.void
setNumberOfGoals
(long numberOfGoals) Sets the number of goals.
-
Constructor Details
-
CampaignDetail
Instantiates a new Campaign detail.- Parameters:
campaign
- the campaign
-
-
Method Details
-
getEngagedProfiles
public long getEngagedProfiles()Retrieves the number of engaged profiles.- Returns:
- the number of engaged profiles
-
setEngagedProfiles
public void setEngagedProfiles(long engagedProfiles) Sets the number of engaged profiles.- Parameters:
engagedProfiles
- the number of engaged profiles
-
getNumberOfGoals
public long getNumberOfGoals()Retrieves the number of goals.- Returns:
- the number of goals
-
setNumberOfGoals
public void setNumberOfGoals(long numberOfGoals) Sets the number of goals.- Parameters:
numberOfGoals
- the number of goals
-
getConversionRate
public double getConversionRate()Retrieves the conversion rate.- Returns:
- the conversion rate
-
setConversionRate
public void setConversionRate(double conversionRate) Sets the conversion rate.- Parameters:
conversionRate
- the conversion rate
-
getCampaign
Retrieves the associated campaign.- Returns:
- the associated campaign
-
setCampaign
Sets the associated campaign.- Parameters:
campaign
- the campaign
-
getCampaignSessionViews
public long getCampaignSessionViews()Retrieves the number of campaign session views.- Returns:
- the number of campaign session views
-
setCampaignSessionViews
public void setCampaignSessionViews(long campaignSessionViews) Sets the number of campaign session views.- Parameters:
campaignSessionViews
- the number of campaign session views
-
getCampaignSessionSuccess
public long getCampaignSessionSuccess()Retrieves the number of campaign session successes.- Returns:
- the number of campaign session successes
-
setCampaignSessionSuccess
public void setCampaignSessionSuccess(long campaignSessionSuccess) Sets the number of campaign session successes.- Parameters:
campaignSessionSuccess
- the number of campaign session successes
-