Interface Parameter.Factory
-
- Enclosing interface:
- Parameter
public static interface Parameter.Factory
Contains methods to create the generic builders.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Parameter.Value.Builder<T>
createParameterBuilder(io.leangen.geantyref.TypeToken<T> parameterClass)
Creates aParameter.Value.Builder
of the indicated generic type.<T> Parameter.Value.Builder<T>
createParameterBuilder(java.lang.Class<T> parameterClass)
Creates aParameter.Value.Builder
of the indicated generic type.<T> Parameter.Value.Builder<T>
createParameterBuilder(Parameter.Key<T> key)
Creates aParameter.Value.Builder
initialized with the providedParameter.Key
.
-
-
-
Method Detail
-
createParameterBuilder
<T> Parameter.Value.Builder<T> createParameterBuilder(Parameter.Key<T> key)
Creates aParameter.Value.Builder
initialized with the providedParameter.Key
.- Type Parameters:
T
- The type of object that will be returned by the builtParameter.Value
- Parameters:
key
- A key to start with- Returns:
- The builder.
-
createParameterBuilder
<T> Parameter.Value.Builder<T> createParameterBuilder(io.leangen.geantyref.TypeToken<T> parameterClass)
Creates aParameter.Value.Builder
of the indicated generic type.- Type Parameters:
T
- The type of object that will be returned by the builtParameter.Value
- Parameters:
parameterClass
- The class- Returns:
- The builder.
-
createParameterBuilder
<T> Parameter.Value.Builder<T> createParameterBuilder(java.lang.Class<T> parameterClass)
Creates aParameter.Value.Builder
of the indicated generic type.- Type Parameters:
T
- The type of object that will be returned by the builtParameter.Value
- Parameters:
parameterClass
- The class- Returns:
- The builder.
-
-