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 Campaign
getCampaign()
Retrieves the associated campaign.long
getCampaignSessionSuccess()
Retrieves the number of campaign session successes.long
getCampaignSessionViews()
Retrieves the number of campaign session views.double
getConversionRate()
Retrieves the conversion rate.long
getEngagedProfiles()
Retrieves the number of engaged profiles.long
getNumberOfGoals()
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 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
-
-