Package org.apache.unomi.api.campaigns
Class CampaignDetail
- java.lang.Object
-
- org.apache.unomi.api.campaigns.CampaignDetail
-
-
Constructor Summary
Constructors Constructor Description CampaignDetail(Campaign campaign)Instantiates a new Campaign detail.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CampaigngetCampaign()Retrieves the associated campaign.longgetCampaignSessionSuccess()Retrieves the number of campaign session successes.longgetCampaignSessionViews()Retrieves the number of campaign session views.doublegetConversionRate()Retrieves the conversion rate.longgetEngagedProfiles()Retrieves the number of engaged profiles.longgetNumberOfGoals()Retrieves the number of goals.voidsetCampaign(Campaign campaign)Sets the associated campaign.voidsetCampaignSessionSuccess(long campaignSessionSuccess)Sets the number of campaign session successes.voidsetCampaignSessionViews(long campaignSessionViews)Sets the number of campaign session views.voidsetConversionRate(double conversionRate)Sets the conversion rate.voidsetEngagedProfiles(long engagedProfiles)Sets the number of engaged profiles.voidsetNumberOfGoals(long numberOfGoals)Sets the number of goals.
-
-
-
Constructor Detail
-
CampaignDetail
public CampaignDetail(Campaign campaign)
Instantiates a new Campaign detail.- Parameters:
campaign- the campaign
-
-
Method Detail
-
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
public Campaign getCampaign()
Retrieves the associated campaign.- Returns:
- the associated campaign
-
setCampaign
public void setCampaign(Campaign campaign)
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
-
-