Class MultiValueParameter
- java.lang.Object
-
- com.atlassian.confluence.macro.params.BaseParameter<Set<String>>
-
- com.atlassian.confluence.macro.query.params.MultiValueParameter
-
- Direct Known Subclasses:
AuthorParameter
public class MultiValueParameter extends BaseParameter<Set<String>>
Represents a macro parameter that can accept a multiple delimited values.
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.macro.params.BaseParameter
shouldValidate
-
-
Constructor Summary
Constructors Constructor Description MultiValueParameter(String[] names, String defaultValue, String delimiter)MultiValueParameter(String name, String defaultValue, String delimiter)MultiValueParameter(List<String> names, String defaultValue, String delimiter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<String>findObject(String paramValue, MacroExecutionContext ctx)Responsible for converting a macro parameter string value to its proper object representation (say "1" to new Integer(1))-
Methods inherited from class com.atlassian.confluence.macro.params.BaseParameter
addParameterAlias, findValue, getDefaultValue, getParameter, getParameterValue, setDefaultValue, setParameterNames, setValidate
-
-
-
-
Method Detail
-
findObject
protected Set<String> 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<Set<String>>- Throws:
ParameterException
-
-