Package ovh.mythmc.gestalt.features
Class FeatureConstructorParams.FeatureConstructorParamsBuilder
java.lang.Object
ovh.mythmc.gestalt.features.FeatureConstructorParams.FeatureConstructorParamsBuilder
- Enclosing class:
FeatureConstructorParams
Builder for
FeatureConstructorParams.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns aFeatureConstructorParamswith the configured values.Sets the constructor argument values.Sets the constructor parameter types.
-
Method Details
-
params
Sets the constructor argument values.- Parameters:
params- the parameter values- Returns:
- this builder
-
types
Sets the constructor parameter types.- Parameters:
paramTypes- the parameter types, used to resolve the constructor via reflection- Returns:
- this builder
-
build
Builds and returns aFeatureConstructorParamswith the configured values.- Returns:
- a new
FeatureConstructorParamsinstance
-