public class DefaultParameterDescriptor extends Object implements ParameterDescriptor
ParameterDescriptor.| Modifier and Type | Field and Description |
|---|---|
static Type |
DEFAULT_PARAMETER_TYPE
Default content type of all content descriptors.
|
| Constructor and Description |
|---|
DefaultParameterDescriptor(org.xwiki.properties.PropertyDescriptor propertyDescriptor)
Creates a new
DefaultParameterDescriptor instance using the given PropertyDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue() |
String |
getDescription() |
Type |
getDisplayType() |
org.xwiki.properties.PropertyGroupDescriptor |
getGroupDescriptor() |
String |
getId() |
String |
getName() |
Type |
getParameterType() |
Class<?> |
getType()
Deprecated.
|
boolean |
isAdvanced() |
boolean |
isDeprecated() |
boolean |
isMandatory() |
public static final Type DEFAULT_PARAMETER_TYPE
public DefaultParameterDescriptor(org.xwiki.properties.PropertyDescriptor propertyDescriptor)
DefaultParameterDescriptor instance using the given PropertyDescriptor.propertyDescriptor - The PropertyDescriptor instance.public String getId()
getId in interface ParameterDescriptorpublic String getName()
getName in interface ParameterDescriptorpublic String getDescription()
getDescription in interface ParameterDescriptor@Deprecated public Class<?> getType()
getType in interface ParameterDescriptorpublic Type getParameterType()
getParameterType in interface ParameterDescriptorpublic Object getDefaultValue()
getDefaultValue in interface ParameterDescriptorpublic boolean isMandatory()
isMandatory in interface ParameterDescriptorpublic boolean isDeprecated()
isDeprecated in interface ParameterDescriptorpublic boolean isAdvanced()
isAdvanced in interface ParameterDescriptorpublic org.xwiki.properties.PropertyGroupDescriptor getGroupDescriptor()
getGroupDescriptor in interface ParameterDescriptorpublic Type getDisplayType()
getDisplayType in interface ParameterDescriptorCopyright © 2004–2019 XWiki. All rights reserved.