@Extension public final class GatingMetrics extends Object implements RootAction
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static String |
DELIM |
static Comparator<String> |
RESOURCE_ID_COMPARATOR |
Constructor and Description |
---|
GatingMetrics() |
Modifier and Type | Method and Description |
---|---|
static GatingMetrics |
get() |
List<String> |
getDetectedConflicts() |
String |
getDisplayName() |
Map<String,MetricsSnapshot.Error> |
getErrors() |
String |
getIconFileName() |
Map<String,MetricsSnapshot> |
getMetrics() |
Map<String,MetricsSnapshot.Resource> |
getStatusOfAllResources()
Get all resources and their status.
|
String |
getUrlName() |
void |
reportError(MetricsSnapshot.Error error) |
void |
update(MetricsSnapshot snapshot) |
static FormValidation |
validateLabel(String label) |
@Nonnull public static final String DELIM
public static final Comparator<String> RESOURCE_ID_COMPARATOR
@Nonnull public static GatingMetrics get()
@Nonnull public String getIconFileName()
getIconFileName
in interface Action
@Nonnull public String getDisplayName()
getDisplayName
in interface Action
getDisplayName
in interface ModelObject
@Nonnull public String getUrlName()
getUrlName
in interface Action
@Nonnull public Map<String,MetricsSnapshot> getMetrics()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Nonnull public Map<String,MetricsSnapshot.Error> getErrors()
@Nonnull public Map<String,MetricsSnapshot.Resource> getStatusOfAllResources()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<String> getDetectedConflicts()
public void update(@Nonnull MetricsSnapshot snapshot)
public void reportError(MetricsSnapshot.Error error)
public static FormValidation validateLabel(@CheckForNull String label)
Copyright © 2016–2021. All rights reserved.