public interface FluentParameterList extends ParameterList
ParameterLists.| Modifier and Type | Method and Description |
|---|---|
FluentParameterList |
alsoWith(Parameter... parameters)
Appends the given parameters, even if parameters with the same names already exist.
|
FluentParameterList |
ratherWith(Parameter... parameters)
Appends the given parameters, removing any other parameters that have the same names as the new ones.
|
FluentParameterList |
without(ParameterType<?>... types)
Removes any parameters of the given
ParameterTypes. |
FluentParameterList alsoWith(Parameter... parameters)
parameters - The parameters to append.FluentParameterList instance.FluentParameterList ratherWith(Parameter... parameters)
parameters - The new parameters.FluentParameterList instance.FluentParameterList without(ParameterType<?>... types)
ParameterTypes.types - The parameter parametertypes to remove.FluentParameterList instance.