public abstract class ParameterCriteria extends Object implements com.tridion.smarttarget.query.builder.Criteria
ParameterCriteria are criteria that resolve into parameters in the query.
These will typically have trigger counterparts in Elasticsearch.
Criteria parameterCriteria = new CustomParameterCriteria("foo", "bar");
Constructor and Description |
---|
ParameterCriteria() |
Modifier and Type | Method and Description |
---|---|
String |
getParameter(boolean urlEncode)
Gets the Url Encoded name=value pair for this parameter.
|
abstract String |
getParameterName()
Gets the name of the ParameterCriteria.
|
abstract String |
getParameterValue()
Gets the value of the ParameterCriteria.
|
List<Object> |
visitCriteria(List<Object> criteriaList) |
protected static final String TEMPLATE
public abstract String getParameterName()
public abstract String getParameterValue()
public String getParameter(boolean urlEncode)
Copyright © 2021 RWS Group for and on behalf of its affiliates and subsidiaries. All rights reserved.