Class CampaignDetail

java.lang.Object
org.apache.unomi.api.campaigns.CampaignDetail

public class CampaignDetail extends Object
Details about a Campaign. Created by kevan on 03/06/15.
  • Constructor Details

    • CampaignDetail

      public CampaignDetail(Campaign campaign)
      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

      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