public class

ExperimentEntry

extends BaseEntry<E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.analytics.ExperimentEntry

Class Overview

Entry element for experiment feed.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
ExperimentEntry()
Default mutable constructor.
ExperimentEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
GwoAnalyticsAccountId getAnalyticsAccountId()
Returns the Analytics account ID.
GwoAutoPruneMode getAutoPruneMode()
Returns the auto-prune mode.
GwoControlScript getControlScript()
Returns the script to control the experiment.
GwoConversionScript getConversionScript()
Returns the script to record conversions.
GwoCoverage getCoverage()
Returns the percentage of traffic to send to the experiment.
GwoExperimentId getExperimentId()
Returns the experiment ID.
GwoExperimentNotes getExperimentNotes()
Returns the experiment's notes.
GwoExperimentType getExperimentType()
Returns the experiment type.
GwoNumAbPageVariations getNumAbPageVariations()
Returns the number of page variations in an A/B experiment.
GwoNumCombinations getNumCombinations()
Returns the number of combinations.
GwoNumSections getNumSections()
Returns the number of sections in a multivariate experiment.
GwoSourceExperimentId getSourceExperimentId()
Returns the experiment ID that identifies the source experiment.
GwoStatus getStatus()
Returns the experiment status.
GwoTrackingScript getTrackingScript()
Returns the script to track this experiment.
GwoVerificationCombo getVerificationCombo()
Returns the verification combination index.
GwoVerificationComboCoverage getVerificationComboCoverage()
Returns the percentage of traffic to send to the verify combo.
boolean hasAnalyticsAccountId()
Returns whether it has the Analytics account ID.
boolean hasAutoPruneMode()
Returns whether it has the auto-prune mode.
boolean hasControlScript()
Returns whether it has the script to control the experiment.
boolean hasConversionScript()
Returns whether it has the script to record conversions.
boolean hasCoverage()
Returns whether it has the percentage of traffic to send to the experiment.
boolean hasExperimentId()
Returns whether it has the experiment ID.
boolean hasExperimentNotes()
Returns whether it has the experiment's notes.
boolean hasExperimentType()
Returns whether it has the experiment type.
boolean hasNumAbPageVariations()
Returns whether it has the number of page variations in an A/B experiment.
boolean hasNumCombinations()
Returns whether it has the number of combinations.
boolean hasNumSections()
Returns whether it has the number of sections in a multivariate experiment.
boolean hasSourceExperimentId()
Returns whether it has the experiment ID that identifies the source experiment.
boolean hasStatus()
Returns whether it has the experiment status.
boolean hasTrackingScript()
Returns whether it has the script to track this experiment.
boolean hasVerificationCombo()
Returns whether it has the verification combination index.
boolean hasVerificationComboCoverage()
Returns whether it has the percentage of traffic to send to the verify combo.
void setAnalyticsAccountId(GwoAnalyticsAccountId analyticsAccountId)
Sets the Analytics account ID.
void setAutoPruneMode(GwoAutoPruneMode autoPruneMode)
Sets the auto-prune mode.
void setControlScript(GwoControlScript controlScript)
Sets the script to control the experiment.
void setConversionScript(GwoConversionScript conversionScript)
Sets the script to record conversions.
void setCoverage(GwoCoverage coverage)
Sets the percentage of traffic to send to the experiment.
void setExperimentId(GwoExperimentId experimentId)
Sets the experiment ID.
void setExperimentNotes(GwoExperimentNotes experimentNotes)
Sets the experiment's notes.
void setExperimentType(GwoExperimentType experimentType)
Sets the experiment type.
void setNumAbPageVariations(GwoNumAbPageVariations numAbPageVariations)
Sets the number of page variations in an A/B experiment.
void setNumCombinations(GwoNumCombinations numCombinations)
Sets the number of combinations.
void setNumSections(GwoNumSections numSections)
Sets the number of sections in a multivariate experiment.
void setSourceExperimentId(GwoSourceExperimentId sourceExperimentId)
Sets the experiment ID that identifies the source experiment.
void setStatus(GwoStatus status)
Sets the experiment status.
void setTrackingScript(GwoTrackingScript trackingScript)
Sets the script to track this experiment.
void setVerificationCombo(GwoVerificationCombo verificationCombo)
Sets the verification combination index.
void setVerificationComboCoverage(GwoVerificationComboCoverage verificationComboCoverage)
Sets the percentage of traffic to send to the verify combo.
String toString()
Protected Methods
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Public Constructors

public ExperimentEntry ()

Default mutable constructor.

public ExperimentEntry (BaseEntry<?> sourceEntry)

Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.

Parameters
sourceEntry Source entry

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Parameters
extProfile The ExtensionProfile to initialize.

public GwoAnalyticsAccountId getAnalyticsAccountId ()

Returns the Analytics account ID.

Returns
  • Analytics account ID

public GwoAutoPruneMode getAutoPruneMode ()

Returns the auto-prune mode.

Returns
  • auto-prune mode

public GwoControlScript getControlScript ()

Returns the script to control the experiment.

Returns
  • script to control the experiment

public GwoConversionScript getConversionScript ()

Returns the script to record conversions.

Returns
  • script to record conversions

public GwoCoverage getCoverage ()

Returns the percentage of traffic to send to the experiment.

Returns
  • percentage of traffic to send to the experiment

public GwoExperimentId getExperimentId ()

Returns the experiment ID.

Returns
  • experiment ID

public GwoExperimentNotes getExperimentNotes ()

Returns the experiment's notes.

Returns
  • experiment's notes

public GwoExperimentType getExperimentType ()

Returns the experiment type.

Returns
  • experiment type

public GwoNumAbPageVariations getNumAbPageVariations ()

Returns the number of page variations in an A/B experiment.

Returns
  • number of page variations in an A/B experiment

public GwoNumCombinations getNumCombinations ()

Returns the number of combinations.

Returns
  • number of combinations

public GwoNumSections getNumSections ()

Returns the number of sections in a multivariate experiment.

Returns
  • number of sections in a multivariate experiment

public GwoSourceExperimentId getSourceExperimentId ()

Returns the experiment ID that identifies the source experiment.

Returns
  • experiment ID that identifies the source experiment

public GwoStatus getStatus ()

Returns the experiment status.

Returns
  • experiment status

public GwoTrackingScript getTrackingScript ()

Returns the script to track this experiment.

Returns
  • script to track this experiment

public GwoVerificationCombo getVerificationCombo ()

Returns the verification combination index.

Returns
  • verification combination index

public GwoVerificationComboCoverage getVerificationComboCoverage ()

Returns the percentage of traffic to send to the verify combo.

Returns
  • percentage of traffic to send to the verify combo

public boolean hasAnalyticsAccountId ()

Returns whether it has the Analytics account ID.

Returns
  • whether it has the Analytics account ID

public boolean hasAutoPruneMode ()

Returns whether it has the auto-prune mode.

Returns
  • whether it has the auto-prune mode

public boolean hasControlScript ()

Returns whether it has the script to control the experiment.

Returns
  • whether it has the script to control the experiment

public boolean hasConversionScript ()

Returns whether it has the script to record conversions.

Returns
  • whether it has the script to record conversions

public boolean hasCoverage ()

Returns whether it has the percentage of traffic to send to the experiment.

Returns
  • whether it has the percentage of traffic to send to the experiment

public boolean hasExperimentId ()

Returns whether it has the experiment ID.

Returns
  • whether it has the experiment ID

public boolean hasExperimentNotes ()

Returns whether it has the experiment's notes.

Returns
  • whether it has the experiment's notes

public boolean hasExperimentType ()

Returns whether it has the experiment type.

Returns
  • whether it has the experiment type

public boolean hasNumAbPageVariations ()

Returns whether it has the number of page variations in an A/B experiment.

Returns
  • whether it has the number of page variations in an A/B experiment

public boolean hasNumCombinations ()

Returns whether it has the number of combinations.

Returns
  • whether it has the number of combinations

public boolean hasNumSections ()

Returns whether it has the number of sections in a multivariate experiment.

Returns
  • whether it has the number of sections in a multivariate experiment

public boolean hasSourceExperimentId ()

Returns whether it has the experiment ID that identifies the source experiment.

Returns
  • whether it has the experiment ID that identifies the source experiment

public boolean hasStatus ()

Returns whether it has the experiment status.

Returns
  • whether it has the experiment status

public boolean hasTrackingScript ()

Returns whether it has the script to track this experiment.

Returns
  • whether it has the script to track this experiment

public boolean hasVerificationCombo ()

Returns whether it has the verification combination index.

Returns
  • whether it has the verification combination index

public boolean hasVerificationComboCoverage ()

Returns whether it has the percentage of traffic to send to the verify combo.

Returns
  • whether it has the percentage of traffic to send to the verify combo

public void setAnalyticsAccountId (GwoAnalyticsAccountId analyticsAccountId)

Sets the Analytics account ID.

Parameters
analyticsAccountId Analytics account ID or null to reset

public void setAutoPruneMode (GwoAutoPruneMode autoPruneMode)

Sets the auto-prune mode.

Parameters
autoPruneMode Auto-prune mode or null to reset

public void setControlScript (GwoControlScript controlScript)

Sets the script to control the experiment.

Parameters
controlScript Script to control the experiment or null to reset

public void setConversionScript (GwoConversionScript conversionScript)

Sets the script to record conversions.

Parameters
conversionScript Script to record conversions or null to reset

public void setCoverage (GwoCoverage coverage)

Sets the percentage of traffic to send to the experiment.

Parameters
coverage Percentage of traffic to send to the experiment or null to reset

public void setExperimentId (GwoExperimentId experimentId)

Sets the experiment ID.

Parameters
experimentId Experiment ID or null to reset

public void setExperimentNotes (GwoExperimentNotes experimentNotes)

Sets the experiment's notes.

Parameters
experimentNotes Experiment's notes or null to reset

public void setExperimentType (GwoExperimentType experimentType)

Sets the experiment type.

Parameters
experimentType Experiment type or null to reset

public void setNumAbPageVariations (GwoNumAbPageVariations numAbPageVariations)

Sets the number of page variations in an A/B experiment.

Parameters
numAbPageVariations Number of page variations in an A/B experiment or null to reset

public void setNumCombinations (GwoNumCombinations numCombinations)

Sets the number of combinations.

Parameters
numCombinations Number of combinations or null to reset

public void setNumSections (GwoNumSections numSections)

Sets the number of sections in a multivariate experiment.

Parameters
numSections Number of sections in a multivariate experiment or null to reset

public void setSourceExperimentId (GwoSourceExperimentId sourceExperimentId)

Sets the experiment ID that identifies the source experiment.

Parameters
sourceExperimentId Experiment ID that identifies the source experiment or null to reset

public void setStatus (GwoStatus status)

Sets the experiment status.

Parameters
status Experiment status or null to reset

public void setTrackingScript (GwoTrackingScript trackingScript)

Sets the script to track this experiment.

Parameters
trackingScript Script to track this experiment or null to reset

public void setVerificationCombo (GwoVerificationCombo verificationCombo)

Sets the verification combination index.

Parameters
verificationCombo Verification combination index or null to reset

public void setVerificationComboCoverage (GwoVerificationComboCoverage verificationComboCoverage)

Sets the percentage of traffic to send to the verify combo.

Parameters
verificationComboCoverage Percentage of traffic to send to the verify combo or null to reset

public String toString ()

Protected Methods

protected void validate ()

Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.