com.atlassian.confluence.macro.query.params
Class MultiValueParameter
java.lang.Object
com.atlassian.confluence.macro.params.BaseParameter<Set<String>>
com.atlassian.confluence.macro.query.params.MultiValueParameter
- All Implemented Interfaces:
- Parameter<Set<String>>
- Direct Known Subclasses:
- AuthorParameter
public class MultiValueParameter
- extends BaseParameter<Set<String>>
Represents a macro parameter that can accept a multiple delimited values.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiValueParameter
public MultiValueParameter(String name,
String defaultValue,
String delimiter)
MultiValueParameter
public MultiValueParameter(String[] names,
String defaultValue,
String delimiter)
MultiValueParameter
public MultiValueParameter(List<String> names,
String defaultValue,
String delimiter)
findObject
protected Set<String> findObject(String paramValue,
MacroExecutionContext ctx)
throws ParameterException
- Description copied from class:
BaseParameter
- Responsible for converting a macro parameter string value to its proper object representation (say "1" to new Integer(1))
- Specified by:
findObject
in class BaseParameter<Set<String>>
- Throws:
ParameterException