public abstract class Telemetry extends Object implements ExtensionPoint
description.jelly
file with additional details about their purpose and
behavior which will be included in help-usageStatisticsCollected.jelly
for UsageStatistics
.Modifier and Type | Class and Description |
---|---|
static class |
Telemetry.TelemetryReporter |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
Telemetry() |
Modifier and Type | Method and Description |
---|---|
static ExtensionList<Telemetry> |
all() |
abstract net.sf.json.JSONObject |
createContent()
Returns the content to be sent to the telemetry service.
|
abstract String |
getDisplayName()
User friendly display name for this telemetry collector, ideally localized.
|
abstract LocalDate |
getEnd()
End date for the collection.
|
String |
getId()
ID of this collector, typically an alphanumeric string (and punctuation).
|
abstract LocalDate |
getStart()
Start date for the collection.
|
boolean |
isActivePeriod()
Returns true iff we're in the time period during which this is supposed to collect data.
|
static boolean |
isDisabled() |
@NonNull public String getId()
@NonNull public abstract String getDisplayName()
@NonNull public abstract LocalDate getStart()
@NonNull public abstract LocalDate getEnd()
@CheckForNull public abstract net.sf.json.JSONObject createContent()
public static ExtensionList<Telemetry> all()
public static boolean isDisabled()
public boolean isActivePeriod()
Copyright © 2004–2021. All rights reserved.