public class NetworkService extends Object implements Comparable<NetworkService>
Modifier and Type | Class and Description |
---|---|
static class |
NetworkService.Builder<T extends NetworkService.Builder<T>> |
static class |
NetworkService.Capability |
Modifier | Constructor and Description |
---|---|
protected |
NetworkService(String name,
Set<NetworkService.Capability> capabilities) |
Modifier and Type | Method and Description |
---|---|
static NetworkService.Builder<?> |
builder() |
int |
compareTo(NetworkService o) |
boolean |
equals(Object obj) |
Map<String,String> |
getCapabilities() |
String |
getName() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
NetworkService.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"name","capability"}) protected NetworkService(String name, @Nullable Set<NetworkService.Capability> capabilities)
public static NetworkService.Builder<?> builder()
public NetworkService.Builder<?> toBuilder()
public String getName()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(NetworkService o)
compareTo
in interface Comparable<NetworkService>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.