T
- the type of the builder.V
- the type of the descriptorprotected abstract static class AppDescriptor.AppDescriptorBuilder<T extends AppDescriptor.AppDescriptorBuilder,V extends AppDescriptor> extends Object
If properties of the builder are not modified default values be utilized.
The default value for client configuration is an instance of
DefaultClientConfig
.
After the build()
has been invoked the state of the builder
will be reset to the default values.
Modifier and Type | Field and Description |
---|---|
protected ClientConfig |
cc |
Modifier | Constructor and Description |
---|---|
protected |
AppDescriptor.AppDescriptorBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract V |
build() |
T |
clientConfig(ClientConfig cc)
Set the client configuration.
|
protected void |
reset() |
protected ClientConfig cc
protected AppDescriptor.AppDescriptorBuilder()
public T clientConfig(ClientConfig cc)
cc
- the client configuration.public abstract V build()
protected void reset()
Copyright © 2013 Oracle Corporation. All rights reserved.