Class NullAnalytics
java.lang.Object
io.jenkins.blueocean.analytics.Analytics
io.jenkins.blueocean.service.embedded.analytics.AbstractAnalytics
io.jenkins.blueocean.service.embedded.analytics.NullAnalytics
- All Implemented Interfaces:
ExtensionPoint
@Extension
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class NullAnalytics
extends AbstractAnalytics
Used when
UsageStatistics.DISABLED
is true-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.blueocean.analytics.Analytics
io.jenkins.blueocean.analytics.Analytics.TrackRequest
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Methods inherited from class io.jenkins.blueocean.service.embedded.analytics.AbstractAnalytics
identity, track
Methods inherited from class io.jenkins.blueocean.analytics.Analytics
get, isAnalyticsEnabled
-
Constructor Details
-
NullAnalytics
public NullAnalytics()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Overrides:
isEnabled
in classAbstractAnalytics
-
doTrack
- Specified by:
doTrack
in classAbstractAnalytics
-