Class Analytics

java.lang.Object
io.jenkins.blueocean.analytics.Analytics
All Implemented Interfaces:
ExtensionPoint

public abstract class Analytics extends Object implements ExtensionPoint
Facade for reporting user analytics
  • Constructor Details

    • Analytics

      public Analytics()
  • Method Details

    • get

      @CheckForNull public static Analytics get()
      Returns:
      analytics instance
    • isAnalyticsEnabled

      public static boolean isAnalyticsEnabled()
      Is analytics enabled on Jenkins or not
    • isEnabled

      public abstract boolean isEnabled()
      Is this analytics instance enabled
    • track

      public abstract void track(Analytics.TrackRequest req)
      Parameters:
      req - to track