C - the type of configurationB - the type of builderpublic static interface Configuration.ConfigBuilder<C extends Configuration,B extends Configuration.ConfigBuilder<C,B>>
| Modifier and Type | Method and Description |
|---|---|
B |
apply(Consumer<B> function)
Apply the function to this builder.
|
C |
build()
Build and return the immutable configuration.
|
default B |
with(Field field,
boolean value)
Associate the given value with the key of the specified field.
|
default B |
with(Field field,
Class<?> value)
Associate the given class name value with the specified field.
|
default B |
with(Field field,
double value)
Associate the given value with the key of the specified field.
|
default B |
with(Field field,
float value)
Associate the given value with the key of the specified field.
|
default B |
with(Field field,
int value)
Associate the given value with the key of the specified field.
|
default B |
with(Field field,
long value)
Associate the given value with the key of the specified field.
|
default B |
with(Field field,
Object value)
Associate the given value with the key of the specified field.
|
default B |
with(Field field,
String value)
Associate the given value with the key of the specified field.
|
default B |
with(String key,
boolean value)
Associate the given value with the specified key.
|
default B |
with(String key,
Class<?> value)
Associate the given class name value with the specified key.
|
default B |
with(String key,
double value)
Associate the given value with the specified key.
|
default B |
with(String key,
float value)
Associate the given value with the specified key.
|
default B |
with(String key,
int value)
Associate the given value with the specified key.
|
default B |
with(String key,
long value)
Associate the given value with the specified key.
|
default B |
with(String key,
Object value)
Associate the given value with the specified key.
|
B |
with(String key,
String value)
Associate the given value with the specified key.
|
default B |
withDefault(Field field,
boolean value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
withDefault(Field field,
Class<?> value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
withDefault(Field field,
double value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
withDefault(Field field,
float value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
withDefault(Field field,
int value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
withDefault(Field field,
long value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
withDefault(Field field,
Object value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
withDefault(Field field,
String value)
If the field does not have a value, then associate the given value with the key of the specified field.
|
default B |
withDefault(String key,
boolean value)
If there is no field with the specified key, then associate the given value with the specified key.
|
default B |
withDefault(String key,
Class<?> value)
If there is no field with the specified key, then associate the given class name value with the specified key.
|
default B |
withDefault(String key,
double value)
If there is no field with the specified key, then associate the given value with the specified key.
|
default B |
withDefault(String key,
float value)
If there is no field with the specified key, then associate the given value with the specified key.
|
default B |
withDefault(String key,
int value)
If there is no field with the specified key, then associate the given value with the specified key.
|
default B |
withDefault(String key,
long value)
If there is no field with the specified key, then associate the given value with the specified key.
|
default B |
withDefault(String key,
Object value)
If there is no field with the specified key, then associate the given value with the specified key.
|
B |
withDefault(String key,
String value)
If there is no field with the specified key, then associate the given value with the specified key.
|
B with(String key, String value)
key - the keyvalue - the valuedefault B with(String key, Object value)
key - the keyvalue - the valuedefault B with(String key, int value)
key - the keyvalue - the valuedefault B with(String key, float value)
key - the keyvalue - the valuedefault B with(String key, double value)
key - the keyvalue - the valuedefault B with(String key, long value)
key - the keyvalue - the valuedefault B with(String key, boolean value)
key - the keyvalue - the valuedefault B with(String key, Class<?> value)
key - the keyvalue - the Class valueB withDefault(String key, String value)
key - the keyvalue - the valuedefault B withDefault(String key, Object value)
key - the keyvalue - the valuedefault B withDefault(String key, int value)
key - the keyvalue - the valuedefault B withDefault(String key, float value)
key - the keyvalue - the valuedefault B withDefault(String key, double value)
key - the keyvalue - the valuedefault B withDefault(String key, long value)
key - the keyvalue - the valuedefault B withDefault(String key, boolean value)
key - the keyvalue - the valuedefault B withDefault(String key, Class<?> value)
key - the keyvalue - the Class valuedefault B with(Field field, String value)
field - the predefined field for the keyvalue - the valuedefault B with(Field field, Object value)
field - the predefined field for the keyvalue - the valuedefault B with(Field field, int value)
field - the predefined field for the keyvalue - the valuedefault B with(Field field, float value)
field - the predefined field for the keyvalue - the valuedefault B with(Field field, double value)
field - the predefined field for the keyvalue - the valuedefault B with(Field field, long value)
field - the predefined field for the keyvalue - the valuedefault B with(Field field, boolean value)
field - the predefined field for the keyvalue - the valuedefault B with(Field field, Class<?> value)
field - the predefined field for the keyvalue - the Class valuedefault B withDefault(Field field, String value)
field - the predefined field for the keyvalue - the valuedefault B withDefault(Field field, Object value)
field - the predefined field for the keyvalue - the valuedefault B withDefault(Field field, int value)
field - the predefined field for the keyvalue - the valuedefault B withDefault(Field field, float value)
field - the predefined field for the keyvalue - the valuedefault B withDefault(Field field, double value)
field - the predefined field for the keyvalue - the valuedefault B withDefault(Field field, long value)
field - the predefined field for the keyvalue - the valuedefault B withDefault(Field field, boolean value)
field - the predefined field for the keyvalue - the default valuedefault B withDefault(Field field, Class<?> value)
field - the predefined field for the keyvalue - the default valueB apply(Consumer<B> function)
function - the predefined field for the keyC build()
Copyright © 2016 JBoss by Red Hat. All rights reserved.