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 classAn extension point that allows for plugins to provide their own set of access keys.static classstatic classA provider that is a simple fixed list of keys.static interfaceAn 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 TypeMethodDescriptionbooleangetKey()inthashCode()booleanbooleanbooleanbooleanbooleanisOriginAllowed(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
-