Uses of Class
io.nosqlbench.nb.api.config.standard.Param

Packages that use Param 
Package Description
io.nosqlbench.nb.api.config.standard  
  • Uses of Param in io.nosqlbench.nb.api.config.standard

    Fields in io.nosqlbench.nb.api.config.standard declared as Param 
    Modifier and Type Field Description
    Param<T> Param.CheckResult.element  
    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)  
    Methods in io.nosqlbench.nb.api.config.standard that return types with arguments of type Param 
    Modifier and Type Method Description
    java.util.Map<java.lang.String,​Param<?>> ConfigModel.getNamedParams()  
    java.util.Map<java.lang.String,​Param<?>> NBConfigModel.getNamedParams()  
    java.util.List<Param<?>> ConfigModel.getParams()  
    java.util.List<Param<?>> NBConfigModel.getParams()  
    Methods in io.nosqlbench.nb.api.config.standard with parameters of type Param 
    Modifier and Type Method Description
    <T> ConfigModel ConfigModel.add​(Param<T> param)  
    static <T> Param.CheckResult<T> Param.CheckResult.INVALID​(Param<T> element, java.lang.Object value, java.lang.String message)  
    static ConfigModel ConfigModel.of​(java.lang.Class<?> ofType, Param<?>... params)  
    static <T> Param.CheckResult<T> Param.CheckResult.VALID​(Param<T> element, java.lang.Object value)  
    static <T> Param.CheckResult<T> Param.CheckResult.VALID​(Param<T> element, java.lang.Object value, java.lang.String message)