public class KeystoneService extends Object implements Service, Comparable<Service>
Modifier and Type | Class and Description |
---|---|
static class |
KeystoneService.Catalog |
static class |
KeystoneService.ServiceConcreteBuilder |
static class |
KeystoneService.Services |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
KeystoneService() |
Modifier and Type | Method and Description |
---|---|
static ServiceBuilder |
builder() |
int |
compareTo(Service s) |
String |
getDescription() |
List<? extends Endpoint> |
getEndpoints() |
String |
getId() |
Map<String,String> |
getLinks() |
String |
getName() |
String |
getType() |
Integer |
getVersion() |
boolean |
isEnabled() |
void |
setEnabled(Boolean enabled)
set service enabled status
|
ServiceBuilder |
toBuilder() |
String |
toString() |
public ServiceBuilder toBuilder()
toBuilder
in interface Buildable<ServiceBuilder>
public static ServiceBuilder builder()
public Integer getVersion()
getVersion
in interface Service
public String getDescription()
getDescription
in interface Service
public String getName()
public String getType()
public List<? extends Endpoint> getEndpoints()
getEndpoints
in interface Service
public boolean isEnabled()
public void setEnabled(Boolean enabled)
setEnabled
in interface Service
enabled
- the new enabled statuspublic int compareTo(Service s)
compareTo
in interface Comparable<Service>
Copyright © 2017. All rights reserved.