public class ServiceEntry extends AbstractServiceEntry
name
Constructor and Description |
---|
ServiceEntry(AbstractServiceEntry entry)
Creates a copy from another entry.
|
ServiceEntry(String name,
String id) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
See https://www.consul.io/api/agent/service.html#name.
|
public ServiceEntry(AbstractServiceEntry entry)
entry
- The entrypublic String getName()
getName
in class AbstractServiceEntry