public abstract class BooleanQueryFactoryParameter extends BaseParameter<BooleanQueryFactory>
BooleanQueryFactory
instances.shouldValidate
Modifier | Constructor and Description |
---|---|
protected |
BooleanQueryFactoryParameter(List<String> names,
String defaultValue) |
protected |
BooleanQueryFactoryParameter(String[] names,
String defaultValue) |
protected |
BooleanQueryFactoryParameter(String name,
String defaultValue) |
Modifier and Type | Method and Description |
---|---|
protected BooleanQueryFactory |
createBooleanQueryFactory(String paramValue,
MacroExecutionContext ctx) |
protected abstract SearchQueryInterpreter |
createSearchQueryInterpreter(MacroExecutionContext ctx) |
protected BooleanQueryFactory |
findObject(String paramValue,
MacroExecutionContext ctx)
Responsible for converting a macro parameter string value to its proper object representation (say "1" to new Integer(1))
|
void |
setDefaultInclusionCriteria(InclusionCriteria criteria)
Sets the default
InclusionCriteria value to use in the
underlying parser. |
addParameterAlias, findValue, getDefaultValue, getParameter, getParameterValue, setDefaultValue, setParameterNames, setValidate
protected BooleanQueryFactoryParameter(String name, String defaultValue)
protected BooleanQueryFactoryParameter(String[] names, String defaultValue)
public final void setDefaultInclusionCriteria(InclusionCriteria criteria)
InclusionCriteria
value to use in the
underlying parser.criteria
- the default InclusionCriteria
to useprotected final BooleanQueryFactory findObject(String paramValue, MacroExecutionContext ctx) throws ParameterException
BaseParameter
findObject
in class BaseParameter<BooleanQueryFactory>
ParameterException
protected abstract SearchQueryInterpreter createSearchQueryInterpreter(MacroExecutionContext ctx)
protected BooleanQueryFactory createBooleanQueryFactory(String paramValue, MacroExecutionContext ctx) throws ParameterException
ParameterException
Copyright © 2003–2018 Atlassian. All rights reserved.