-
Methods in io.nosqlbench.nb.api.config.standard that return Param
| Modifier and Type |
Method |
Description |
static <V> Param<V> |
Param.defaultTo(java.lang.String name,
V defaultValue) |
Parameters which are given a default value are automatically marked as required, as the default
value allows them to be accessed as such.
|
static <V> Param<V> |
Param.defaultTo(java.lang.String name,
V defaultValue,
java.lang.String description) |
Parameters which are given a default value are automatically marked as required, as the default
value allows them to be accessed as such.
|
static <V> Param<V> |
Param.defaultTo(java.util.List<java.lang.String> names,
V defaultValue) |
Parameters which are given a default value are automatically marked as required, as the default
value allows them to be accessed as such.
|
Param<?> |
ConfigModel.getParam(java.lang.String... names) |
|
<V> Param<V> |
NBConfigModel.getParam(java.lang.String... name) |
|
static Param<java.lang.String> |
Param.optional(java.lang.String name) |
Declare an optional String parameter with the given name.
|
static <V> Param<V> |
Param.optional(java.lang.String name,
java.lang.Class<V> type) |
Declare an optional parameter for the given name which must be assignable to
(returnable as) the specified type.
|
static <V> Param<V> |
Param.optional(java.lang.String name,
java.lang.Class<V> type,
java.lang.String description) |
Declare an optional parameter for the given name which must be assignable to
(returnable as) the specified type.
|
static Param<java.lang.String> |
Param.optional(java.util.List<java.lang.String> names) |
Declare an optional String parameter specified by any of the names.
|
static <V> Param<V> |
Param.optional(java.util.List<java.lang.String> names,
java.lang.Class<V> type) |
Declare an optional parameter specified by any of the names which must be assignable to
(returnable as) the specified type.
|
static <V> Param<V> |
Param.optional(java.util.List<java.lang.String> names,
java.lang.Class<V> type,
java.lang.String description) |
Declare an optional parameter specified by any of the names which must be assignable to
(returnable as) the specified type.
|
static <V> Param<V> |
Param.required(java.lang.String name,
java.lang.Class<V> type) |
|
static <V> Param<V> |
Param.required(java.util.List<java.lang.String> names,
java.lang.Class<V> type) |
|
Param<T> |
Param.setDescription(java.lang.String description) |
|
Param<T> |
Param.setRegex(java.lang.String pattern) |
|
Param<T> |
Param.setRegex(java.util.regex.Pattern regex) |
|
Param<?> |
Param.setRequired(boolean required) |
|