Package org.ocpsoft.rewrite.param
Interface ParameterConfiguration<IMPLTYPE extends ParameterConfiguration<IMPLTYPE>>
- All Known Subinterfaces:
ConfigurableParameter<IMPLTYPE>,ConfigurationRuleParameter,ConfigurationRuleParameterWhere
- All Known Implementing Classes:
ConfigurationRuleParameterBuilder,DefaultParameter,ParameterBuilder
public interface ParameterConfiguration<IMPLTYPE extends ParameterConfiguration<IMPLTYPE>>
The set of mutators for configuring
Parameter instances.- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionAdd aBindingto thisParameterConfiguration.configuredBy(ParameterConfigurator configurator) Add aParameterConfiguratorwith which thisParameterConfigurationwill be configured.constrainedBy(Constraint<String> pattern) Add a constraint to which thisParameterConfigurationmust match.convertedBy(Converter<?> converter) Set theConverterwith which thisParameterConfigurationvalue will be converted.transposedBy(Transposition<String> transform) Add aTranspositionto thisParameterConfiguration; it will executed in the order in which it was added.validatedBy(Validator<?> validator) Set theValidatorwith which thisParameterConfigurationvalue will be validated.
-
Method Details
-
bindsTo
Add aBindingto thisParameterConfiguration. -
convertedBy
Set theConverterwith which thisParameterConfigurationvalue will be converted. -
validatedBy
Set theValidatorwith which thisParameterConfigurationvalue will be validated. -
constrainedBy
Add a constraint to which thisParameterConfigurationmust match. -
transposedBy
Add aTranspositionto thisParameterConfiguration; it will executed in the order in which it was added. -
configuredBy
Add aParameterConfiguratorwith which thisParameterConfigurationwill be configured.
-