Class 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 Detail

      • AbstractAnalytics

        public AbstractAnalytics()
    • Method Detail

      • 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
      • server

        protected final String server()
      • identity

        protected final String identity​(String server)