Class BooleanQueryFactoryParameter
java.lang.Object
com.atlassian.confluence.macro.params.BaseParameter<BooleanQueryFactory>
com.atlassian.confluence.macro.query.params.BooleanQueryFactoryParameter
- All Implemented Interfaces:
Parameter<BooleanQueryFactory>
- Direct Known Subclasses:
ContentTypeParameter,LabelParameter,SpaceKeyParameter
Parameter that parses its values into
BooleanQueryFactory
instances.- Since:
- 2.9
-
Field Summary
Fields inherited from class com.atlassian.confluence.macro.params.BaseParameter
shouldValidate -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBooleanQueryFactoryParameter(String[] names, String defaultValue) protectedBooleanQueryFactoryParameter(String name, String defaultValue) protectedBooleanQueryFactoryParameter(List<String> names, String defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleanQueryFactorycreateBooleanQueryFactory(String paramValue, MacroExecutionContext ctx) protected abstract SearchQueryInterpreterprotected final BooleanQueryFactoryfindObject(String paramValue, MacroExecutionContext ctx) Responsible for converting a macro parameter string value to its proper object representation (say "1" to new Integer(1))final voidsetDefaultInclusionCriteria(InclusionCriteria criteria) Sets the defaultInclusionCriteriavalue to use in the underlying parser.Methods inherited from class com.atlassian.confluence.macro.params.BaseParameter
addParameterAlias, findValue, getDefaultValue, getParameter, getParameterValue, setDefaultValue, setParameterNames, setValidate
-
Constructor Details
-
BooleanQueryFactoryParameter
-
BooleanQueryFactoryParameter
-
BooleanQueryFactoryParameter
-
-
Method Details
-
setDefaultInclusionCriteria
Sets the defaultInclusionCriteriavalue to use in the underlying parser.- Parameters:
criteria- the defaultInclusionCriteriato use
-
findObject
protected final BooleanQueryFactory findObject(String paramValue, MacroExecutionContext ctx) throws ParameterException Description copied from class:BaseParameterResponsible for converting a macro parameter string value to its proper object representation (say "1" to new Integer(1))- Specified by:
findObjectin classBaseParameter<BooleanQueryFactory>- Throws:
ParameterException
-
createSearchQueryInterpreter
-
createBooleanQueryFactory
protected BooleanQueryFactory createBooleanQueryFactory(String paramValue, MacroExecutionContext ctx) throws ParameterException - Throws:
ParameterException
-