public class MetricsAccessKey extends AbstractDescribableImpl<MetricsAccessKey> implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MetricsAccessKey.AbstractProvider
An extension point that allows for plugins to provide their own set of access keys.
|
static class |
MetricsAccessKey.DescriptorImpl |
static class |
MetricsAccessKey.FixedListProviderImpl
A provider that is a simple fixed list of keys.
|
static interface |
MetricsAccessKey.Provider
An extension point that allows for plugins to provide their own set of access keys.
|
Constructor and Description |
---|
MetricsAccessKey(String description,
String key) |
MetricsAccessKey(String description,
String key,
boolean canPing,
boolean canThreadDump,
boolean canHealthCheck,
boolean canMetrics,
String origins) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription() |
String |
getKey() |
String |
getOrigins() |
int |
hashCode() |
boolean |
isCanHealthCheck() |
boolean |
isCanMetrics() |
boolean |
isCanPing() |
boolean |
isCanThreadDump() |
boolean |
isOriginAllowed(String origin) |
String |
toString() |
getDescriptor
@CheckForNull public String getDescription()
@NonNull public String getKey()
public boolean isCanPing()
public boolean isCanThreadDump()
public boolean isCanHealthCheck()
public boolean isCanMetrics()
public String getOrigins()
public boolean isOriginAllowed(String origin)
Copyright © 2016–2019. All rights reserved.