public class ClientConfig<T extends ClientConfig<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClientConfig.ClientConfigResources
Child mutators for ClientConfig
|
Constructor and Description |
---|
ClientConfig(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
T |
postHandlerChain(PostHandlerChain value)
Add the PostHandlerChain object to the list of subresources
|
T |
postHandlerChain(PostHandlerChainSupplier supplier)
Install a supplied PostHandlerChain object to the list of subresources
|
T |
postHandlerChain(String childKey)
Create and configure a PostHandlerChain object to the list of
subresources
|
T |
postHandlerChain(String childKey,
PostHandlerChainConsumer consumer)
Create and configure a PostHandlerChain object to the list of
subresources
|
T |
postHandlerChains(List<PostHandlerChain> value)
Add all PostHandlerChain objects to this subresource
|
T |
preHandlerChain(PreHandlerChain value)
Add the PreHandlerChain object to the list of subresources
|
T |
preHandlerChain(PreHandlerChainSupplier supplier)
Install a supplied PreHandlerChain object to the list of subresources
|
T |
preHandlerChain(String childKey)
Create and configure a PreHandlerChain object to the list of subresources
|
T |
preHandlerChain(String childKey,
PreHandlerChainConsumer consumer)
Create and configure a PreHandlerChain object to the list of subresources
|
T |
preHandlerChains(List<PreHandlerChain> value)
Add all PreHandlerChain objects to this subresource
|
T |
properties(List<Property> value)
Add all Property objects to this subresource
|
T |
property(Property value)
Add the Property object to the list of subresources
|
T |
property(PropertySupplier supplier)
Install a supplied Property object to the list of subresources
|
T |
property(String childKey)
Create and configure a Property object to the list of subresources
|
T |
property(String childKey,
PropertyConsumer consumer)
Create and configure a Property object to the list of subresources
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
ClientConfig.ClientConfigResources |
subresources() |
public ClientConfig(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public ClientConfig.ClientConfigResources subresources()
public T postHandlerChains(List<PostHandlerChain> value)
value
- List of PostHandlerChain objects.public T postHandlerChain(PostHandlerChain value)
value
- The PostHandlerChain to addpublic T postHandlerChain(String childKey, PostHandlerChainConsumer consumer)
key
- The key for the PostHandlerChain resourceconfig
- The PostHandlerChainConsumer to usepublic T postHandlerChain(String childKey)
key
- The key for the PostHandlerChain resourcepublic T postHandlerChain(PostHandlerChainSupplier supplier)
public T preHandlerChains(List<PreHandlerChain> value)
value
- List of PreHandlerChain objects.public T preHandlerChain(PreHandlerChain value)
value
- The PreHandlerChain to addpublic T preHandlerChain(String childKey, PreHandlerChainConsumer consumer)
key
- The key for the PreHandlerChain resourceconfig
- The PreHandlerChainConsumer to usepublic T preHandlerChain(String childKey)
key
- The key for the PreHandlerChain resourcepublic T preHandlerChain(PreHandlerChainSupplier supplier)
public T properties(List<Property> value)
value
- List of Property objects.public T property(Property value)
value
- The Property to addpublic T property(String childKey, PropertyConsumer consumer)
key
- The key for the Property resourceconfig
- The PropertyConsumer to usepublic T property(String childKey)
key
- The key for the Property resourcepublic T property(PropertySupplier supplier)
Copyright © 2019 JBoss by Red Hat. All rights reserved.