Class AbstractAnalytics

java.lang.Object
io.jenkins.blueocean.analytics.Analytics
io.jenkins.blueocean.service.embedded.analytics.AbstractAnalytics
All Implemented Interfaces:
ExtensionPoint
Direct Known Subclasses:
KeenAnalyticsImpl, NullAnalytics

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public abstract class AbstractAnalytics extends io.jenkins.blueocean.analytics.Analytics
Implements Analytics to guarantee common properties are tracked with any events sent
  • Constructor Details

    • AbstractAnalytics

      public AbstractAnalytics()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in class io.jenkins.blueocean.analytics.Analytics
    • track

      public void track(io.jenkins.blueocean.analytics.Analytics.TrackRequest req)
      Specified by:
      track in class io.jenkins.blueocean.analytics.Analytics
      Parameters:
      req - to track
    • doTrack

      protected abstract void doTrack(String name, Map<String,Object> allProps)
    • identity

      protected final String identity()