public abstract static class NetworkService.Capability.Builder<T extends NetworkService.Capability.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected String |
value |
Constructor and Description |
---|
NetworkService.Capability.Builder() |
Modifier and Type | Method and Description |
---|---|
NetworkService.Capability |
build() |
T |
fromCapability(NetworkService.Capability in) |
T |
name(String name) |
protected abstract T |
self() |
T |
value(String value) |
protected abstract T self()
public T name(String name)
NetworkService.Capability.getName()
public T value(String value)
NetworkService.Capability.getValue()
public NetworkService.Capability build()
public T fromCapability(NetworkService.Capability in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.