类 EndpointId
java.lang.Object
org.springframework.boot.actuate.endpoint.EndpointId
An identifier for an actuator endpoint. Endpoint IDs may contain only letters and
numbers. They must begin with a lower-case letter. Case and syntax characters are
ignored when comparing endpoint IDs.
- 从以下版本开始:
- 2.0.6
- 作者:
- Phillip Webb
-
方法概要
修饰符和类型方法说明booleanstatic EndpointIdfromPropertyValue(String value) Factory method to create a newEndpointIdfrom a property value.inthashCode()static EndpointIdFactory method to create a newEndpointIdof the specified value.static EndpointIdof(Environment environment, String value) Factory method to create a newEndpointIdof the specified value.Return a lower-case version of the endpoint ID.toString()
-
方法详细资料
-
equals
-
hashCode
public int hashCode() -
toLowerCaseString
Return a lower-case version of the endpoint ID.- 返回:
- the lower-case endpoint ID
-
toString
-
of
Factory method to create a newEndpointIdof the specified value.- 参数:
value- the endpoint ID value- 返回:
- an
EndpointIdinstance
-
of
Factory method to create a newEndpointIdof the specified value. This variant will respect themanagement.endpoints.migrate-legacy-namesproperty if it has been set in theEnvironment.- 参数:
environment- the Spring environmentvalue- the endpoint ID value- 返回:
- an
EndpointIdinstance - 从以下版本开始:
- 2.2.0
-
fromPropertyValue
Factory method to create a newEndpointIdfrom a property value. More lenient thanof(String)to allow for common "relaxed" property variants.- 参数:
value- the property value to convert- 返回:
- an
EndpointIdinstance
-