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 |
isDisplayHidden() |
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 ParameterDescriptor
public String getName()
getName
in interface ParameterDescriptor
public String getDescription()
getDescription
in interface ParameterDescriptor
@Deprecated public Class<?> getType()
getType
in interface ParameterDescriptor
public Type getParameterType()
getParameterType
in interface ParameterDescriptor
public Object getDefaultValue()
getDefaultValue
in interface ParameterDescriptor
public boolean isMandatory()
isMandatory
in interface ParameterDescriptor
public boolean isDeprecated()
isDeprecated
in interface ParameterDescriptor
public boolean isAdvanced()
isAdvanced
in interface ParameterDescriptor
public org.xwiki.properties.PropertyGroupDescriptor getGroupDescriptor()
getGroupDescriptor
in interface ParameterDescriptor
public Type getDisplayType()
getDisplayType
in interface ParameterDescriptor
public boolean isDisplayHidden()
isDisplayHidden
in interface ParameterDescriptor
Copyright © 2004–2022 XWiki. All rights reserved.