com.sun.jersey.test.framework
Class AppDescriptor.AppDescriptorBuilder<T extends AppDescriptor.AppDescriptorBuilder,V extends AppDescriptor>
java.lang.Object
com.sun.jersey.test.framework.AppDescriptor.AppDescriptorBuilder<T,V>
- Type Parameters:
T
- the type of the builder.V
- the type of the descriptor
- Direct Known Subclasses:
- LowLevelAppDescriptor.Builder, WebAppDescriptor.Builder
- Enclosing class:
- AppDescriptor
protected abstract static class AppDescriptor.AppDescriptorBuilder<T extends AppDescriptor.AppDescriptorBuilder,V extends AppDescriptor>
- extends Object
The base builder for building an application descriptor.
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cc
protected ClientConfig cc
AppDescriptor.AppDescriptorBuilder
protected AppDescriptor.AppDescriptorBuilder()
clientConfig
public T clientConfig(ClientConfig cc)
- Set the client configuration.
- Parameters:
cc
- the client configuration.
- Returns:
- this builder.
build
public abstract V build()
reset
protected void reset()
Copyright © 2013 Oracle Corporation. All Rights Reserved.