Class ServiceEntry
java.lang.Object
io.micronaut.discovery.consul.client.v1.AbstractServiceEntry
io.micronaut.discovery.consul.client.v1.ServiceEntry
Deprecated, for removal: This API element is subject to removal in a future version.
- Since:
- 1.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from class io.micronaut.discovery.consul.client.v1.AbstractServiceEntry
name
-
Constructor Summary
ConstructorDescriptionServiceEntry
(@Nullable String name, @Nullable String id) Deprecated, for removal: This API element is subject to removal in a future version.ServiceEntry
(AbstractServiceEntry entry) Deprecated, for removal: This API element is subject to removal in a future version.Creates a copy from another entry. -
Method Summary
-
Constructor Details
-
ServiceEntry
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
name
- The nameid
- The id
-
ServiceEntry
Deprecated, for removal: This API element is subject to removal in a future version.Creates a copy from another entry.- Parameters:
entry
- The entry
-
-
Method Details
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.See https://www.consul.io/api/agent/service.html#name.- Overrides:
getName
in classAbstractServiceEntry
- Returns:
- The name of the service
-
ConsulServiceEntry
instead.