public final class EndpointId extends Object
'.'
and '-'
. They must begin with a lower-case letter. Case and syntax
characters are ignored when comparing endpoint IDs.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static EndpointId |
fromPropertyValue(String value)
Factory method to create a new
EndpointId from a property value. |
int |
hashCode() |
static EndpointId |
of(String value)
Factory method to create a new
EndpointId of the specified value. |
String |
toLowerCaseString()
Return a lower-case version of the endpoint ID.
|
String |
toString() |
public String toLowerCaseString()
public static EndpointId of(String value)
EndpointId
of the specified value.value
- the endpoint ID valueEndpointId
instancepublic static EndpointId fromPropertyValue(String value)
EndpointId
from a property value. Is more
lenient that of(String)
to allow for common "relaxed" property variants.value
- the property value to convertEndpointId
instanceCopyright © 2018 Pivotal Software, Inc.. All rights reserved.