类 AbstractExposableEndpoint<O extends Operation>
- java.lang.Object
- org.springframework.boot.actuate.endpoint.AbstractExposableEndpoint<O>
- 类型参数:
O- the operation type.
- 所有已实现的接口:
ExposableEndpoint<O>
- 直接已知子类:
AbstractDiscoveredEndpoint
public abstract class AbstractExposableEndpoint<O extends Operation> extends Object implements ExposableEndpoint<O>
Abstract base class forExposableEndpointimplementations.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 AbstractExposableEndpoint(EndpointId id, boolean enabledByDefault, Collection<? extends O> operations)Create a newAbstractExposableEndpointinstance.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 EndpointIdgetEndpointId()Return the endpoint ID.Collection<O>getOperations()Returns the operations of the endpoint.booleanisEnableByDefault()Returns if the endpoint is enabled by default.
构造器详细资料
AbstractExposableEndpoint
public AbstractExposableEndpoint(EndpointId id, boolean enabledByDefault, Collection<? extends O> operations)
Create a newAbstractExposableEndpointinstance.- 参数:
id- the endpoint idenabledByDefault- if the endpoint is enabled by defaultoperations- the endpoint operations
方法详细资料
getEndpointId
public EndpointId getEndpointId()
从接口复制的说明:ExposableEndpointReturn the endpoint ID.- 指定者:
getEndpointId在接口中ExposableEndpoint<O extends Operation>- 返回:
- the endpoint ID
isEnableByDefault
public boolean isEnableByDefault()
从接口复制的说明:ExposableEndpointReturns if the endpoint is enabled by default.- 指定者:
isEnableByDefault在接口中ExposableEndpoint<O extends Operation>- 返回:
- if the endpoint is enabled by default
getOperations
public Collection<O> getOperations()
从接口复制的说明:ExposableEndpointReturns the operations of the endpoint.- 指定者:
getOperations在接口中ExposableEndpoint<O extends Operation>- 返回:
- the operations