public abstract static class NetworkService.Builder<T extends NetworkService.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<NetworkService.Capability> |
capabilities |
protected String |
name |
Constructor and Description |
---|
NetworkService.Builder() |
Modifier and Type | Method and Description |
---|---|
NetworkService |
build() |
T |
capabilities(Map<String,String> capabilities) |
T |
fromNetworkService(NetworkService in) |
T |
name(String name) |
protected abstract T |
self() |
protected String name
protected Set<NetworkService.Capability> capabilities
protected abstract T self()
public T name(String name)
NetworkService.getName()
public T capabilities(Map<String,String> capabilities)
NetworkService.getCapabilities()
public NetworkService build()
public T fromNetworkService(NetworkService in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.