Package org.xwiki.filter
Class FilterElementParameterDescriptor<T>
- java.lang.Object
-
- org.xwiki.filter.FilterElementParameterDescriptor<T>
-
- Type Parameters:
T- the type of the parameter
public class FilterElementParameterDescriptor<T> extends Object
A filter element parameter.- Since:
- 5.2M1
- Version:
- $Id: 7601aff5efc3c5a64687bfd2acd707557091134e $
-
-
Constructor Summary
Constructors Constructor Description FilterElementParameterDescriptor(int index, String name, Type type, T defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetDefaultValue()intgetIndex()StringgetName()TypegetType()StringtoString()
-
-
-
Constructor Detail
-
FilterElementParameterDescriptor
public FilterElementParameterDescriptor(int index, String name, Type type, T defaultValue)- Parameters:
index- the index of the parameter.name- the name of the parameter.nullif noNameannotation has been used.type- the type of the parameter.defaultValue- the default value.
-
-
Method Detail
-
getIndex
public int getIndex()
- Returns:
- the index of the parameter.
-
getName
public String getName()
- Returns:
- the name of the parameter.
nullif noNameannotation has been used.
-
getType
public Type getType()
- Returns:
- the type of the parameter.
-
getDefaultValue
public T getDefaultValue()
- Returns:
- the default value.
-
-