|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.rendering.macro.wikibridge.WikiMacroParameterDescriptor
public class WikiMacroParameterDescriptor
ParameterDescriptor for describing wiki macro parameters.
| Constructor Summary | |
|---|---|
WikiMacroParameterDescriptor(String id,
String description,
boolean mandatory)
Creates a new WikiMacroParameterDescriptor instance. |
|
WikiMacroParameterDescriptor(String id,
String description,
boolean mandatory,
Object defaultValue)
Creates a new WikiMacroParameterDescriptor instance. |
|
| Method Summary | |
|---|---|
Object |
getDefaultValue()
|
String |
getDescription()
|
String |
getId()
|
String |
getName()
|
Type |
getParameterType()
|
Class<?> |
getType()
Deprecated. |
boolean |
isMandatory()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WikiMacroParameterDescriptor(String id,
String description,
boolean mandatory)
WikiMacroParameterDescriptor instance.
id - parameter identifier.description - parameter description.mandatory - if the parameter is mandatory.
public WikiMacroParameterDescriptor(String id,
String description,
boolean mandatory,
Object defaultValue)
WikiMacroParameterDescriptor instance.
id - parameter identifier.description - parameter description.mandatory - if the parameter is mandatory.defaultValue - parameter default value.| Method Detail |
|---|
public String getId()
getId in interface org.xwiki.rendering.macro.descriptor.ParameterDescriptorpublic String getName()
getName in interface org.xwiki.rendering.macro.descriptor.ParameterDescriptorpublic String getDescription()
getDescription in interface org.xwiki.rendering.macro.descriptor.ParameterDescriptor@Deprecated public Class<?> getType()
getType in interface org.xwiki.rendering.macro.descriptor.ParameterDescriptorpublic Type getParameterType()
getParameterType in interface org.xwiki.rendering.macro.descriptor.ParameterDescriptorpublic Object getDefaultValue()
getDefaultValue in interface org.xwiki.rendering.macro.descriptor.ParameterDescriptorpublic boolean isMandatory()
isMandatory in interface org.xwiki.rendering.macro.descriptor.ParameterDescriptor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||