Interface Parameter.Factory
- Enclosing interface:
Parameter
public static interface Parameter.Factory
Contains methods to create the generic builders.
-
Method Summary
Modifier and TypeMethodDescription<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
(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 Details
-
createParameterBuilder
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
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.
-