public static interface RuleParameters.AddParameter
RuleParameters builder.| Modifier and Type | Method and Description |
|---|---|
RuleParameters.AddParameter |
addParameter(String name,
String value)
Creates a new parameter and adds it to the current parameters list in the builder.
|
default RuleParameters.AddParameter |
addParameters(Map<String,String> values)
Creates a collection parameters and adds them to the current parameters list in the builder.
|
RuleParameters |
build()
Builds the new
RuleParameters instance and returns it. |
RuleParameters.AddParameter addParameter(String name, String value)
It another parameter exists with the same name, then its value will be replaced with the new one.
name - the name of the new parameter.value - the value of the new parameter.RuleParameters.AddParameter to allow method chaining.default RuleParameters.AddParameter addParameters(Map<String,String> values)
It another parameter exists with the same name as one of the new parameters, then its value will be replaced with the new value.
values - a Map of parameters to create and to add to the new instance.RuleParameters.AddParameter to allow method chaining.RuleParameters build()
RuleParameters instance and returns it.Copyright © 2020. All rights reserved.