Package jenkins.metrics.api
Class MetricsAccessKey
- All Implemented Interfaces:
Describable<MetricsAccessKey>
,Serializable
public class MetricsAccessKey
extends AbstractDescribableImpl<MetricsAccessKey>
implements Serializable
- Author:
- Stephen Connolly
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An extension point that allows for plugins to provide their own set of access keys.static class
static class
A provider that is a simple fixed list of keys.static interface
An extension point that allows for plugins to provide their own set of access keys. -
Constructor Summary
ConstructorsConstructorDescriptionMetricsAccessKey
(String description, Secret key, boolean canPing, boolean canThreadDump, boolean canHealthCheck, boolean canMetrics, String origins) MetricsAccessKey
(String description, String key) MetricsAccessKey
(String description, String key, boolean canPing, boolean canThreadDump, boolean canHealthCheck, boolean canMetrics, String origins) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
int
hashCode()
boolean
boolean
boolean
boolean
boolean
isOriginAllowed
(String origin) toString()
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
MetricsAccessKey
-
MetricsAccessKey
@Deprecated public MetricsAccessKey(String description, String key, boolean canPing, boolean canThreadDump, boolean canHealthCheck, boolean canMetrics, String origins) Deprecated. -
MetricsAccessKey
-
-
Method Details
-
getDescription
-
getKey
-
isCanPing
public boolean isCanPing() -
isCanThreadDump
public boolean isCanThreadDump() -
isCanHealthCheck
public boolean isCanHealthCheck() -
isCanMetrics
public boolean isCanMetrics() -
getOrigins
-
isOriginAllowed
-
equals
-
hashCode
public int hashCode() -
toString
-