类 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 for
ExposableEndpoint
implementations.- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
-
构造器概要
构造器构造器说明AbstractExposableEndpoint
(EndpointId id, boolean enabledByDefault, Collection<? extends O> operations) 已过时, 待删除: 此 API 元素将从以后的版本中删除。AbstractExposableEndpoint
(EndpointId id, Access defaultAccess, Collection<? extends O> operations) Create a newAbstractExposableEndpoint
instance. -
方法概要
修饰符和类型方法说明Returns the access to the endpoint that is permitted by default.Return the endpoint ID.Returns the operations of the endpoint.boolean
已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
构造器详细资料
-
AbstractExposableEndpoint
@Deprecated(since="3.4.0", forRemoval=true) public AbstractExposableEndpoint(EndpointId id, boolean enabledByDefault, Collection<? extends O> operations) 已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.4.0 for removal in 4.0.0 in favor ofAbstractExposableEndpoint(EndpointId, Access, Collection)
Create a newAbstractExposableEndpoint
instance.- 参数:
id
- the endpoint idenabledByDefault
- if the endpoint is enabled by defaultoperations
- the endpoint operations
-
AbstractExposableEndpoint
public AbstractExposableEndpoint(EndpointId id, Access defaultAccess, Collection<? extends O> operations) Create a newAbstractExposableEndpoint
instance.- 参数:
id
- the endpoint iddefaultAccess
- access to the endpoint that is permitted by defaultoperations
- the endpoint operations- 从以下版本开始:
- 3.4.0
-
-
方法详细资料
-
getEndpointId
从接口复制的说明:ExposableEndpoint
Return the endpoint ID.- 指定者:
getEndpointId
在接口中ExposableEndpoint<O extends Operation>
- 返回:
- the endpoint ID
-
isEnableByDefault
已过时, 待删除: 此 API 元素将从以后的版本中删除。从接口复制的说明:ExposableEndpoint
Returns if the endpoint is enabled by default.- 指定者:
isEnableByDefault
在接口中ExposableEndpoint<O extends Operation>
- 返回:
- if the endpoint is enabled by default
-
getDefaultAccess
从接口复制的说明:ExposableEndpoint
Returns the access to the endpoint that is permitted by default.- 指定者:
getDefaultAccess
在接口中ExposableEndpoint<O extends Operation>
- 返回:
- access that is permitted by default
-
getOperations
从接口复制的说明:ExposableEndpoint
Returns the operations of the endpoint.- 指定者:
getOperations
在接口中ExposableEndpoint<O extends Operation>
- 返回:
- the operations
-
AbstractExposableEndpoint(EndpointId, Access, Collection)