类 EndpointId
- java.lang.Object
- org.springframework.boot.actuate.endpoint.EndpointId
public final class EndpointId extends Object
An identifier for an actuator endpoint. Endpoint IDs may contain only letters, numbers'.'
and'-'
. They must begin with a lower-case letter. Case and syntax characters are ignored when comparing endpoint IDs.- 从以下版本开始:
- 2.0.6
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 boolean
equals(Object obj)
static EndpointId
fromPropertyValue(String value)
Factory method to create a newEndpointId
from a property value.int
hashCode()
static EndpointId
of(String value)
Factory method to create a newEndpointId
of the specified value.String
toLowerCaseString()
Return a lower-case version of the endpoint ID.String
toString()
方法详细资料
toLowerCaseString
public String toLowerCaseString()
Return a lower-case version of the endpoint ID.- 返回:
- the lower-case endpoint ID
of
public static EndpointId of(String value)
Factory method to create a newEndpointId
of the specified value.- 参数:
value
- the endpoint ID value- 返回:
- an
EndpointId
instance
fromPropertyValue
public static EndpointId fromPropertyValue(String value)
Factory method to create a newEndpointId
from a property value. More lenient thanof(String)
to allow for common "relaxed" property variants.- 参数:
value
- the property value to convert- 返回:
- an
EndpointId
instance