Class WikiMacroDescriptor
- java.lang.Object
-
- org.xwiki.rendering.macro.wikibridge.WikiMacroDescriptor
-
- All Implemented Interfaces:
org.xwiki.rendering.macro.descriptor.MacroDescriptor
public class WikiMacroDescriptor extends Object implements org.xwiki.rendering.macro.descriptor.MacroDescriptor
AMacroDescriptor
for describing wiki macros.- Since:
- 2.0M2
- Version:
- $Id: 7d0e602d75f5a3155e2fb5480eef272a63d1ae26 $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WikiMacroDescriptor.Builder
Use this to build instance ofWikiMacroDescriptor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xwiki.rendering.macro.descriptor.ContentDescriptor
getContentDescriptor()
Set<String>
getDefaultCategories()
String
getDescription()
org.xwiki.rendering.macro.MacroId
getId()
String
getName()
Map<String,org.xwiki.rendering.macro.descriptor.ParameterDescriptor>
getParameterDescriptorMap()
Class<?>
getParametersBeanClass()
WikiMacroVisibility
getVisibility()
boolean
supportsInlineMode()
-
-
-
Method Detail
-
getId
public org.xwiki.rendering.macro.MacroId getId()
- Specified by:
getId
in interfaceorg.xwiki.rendering.macro.descriptor.MacroDescriptor
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.xwiki.rendering.macro.descriptor.MacroDescriptor
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceorg.xwiki.rendering.macro.descriptor.MacroDescriptor
-
getContentDescriptor
public org.xwiki.rendering.macro.descriptor.ContentDescriptor getContentDescriptor()
- Specified by:
getContentDescriptor
in interfaceorg.xwiki.rendering.macro.descriptor.MacroDescriptor
-
getParametersBeanClass
public Class<?> getParametersBeanClass()
- Specified by:
getParametersBeanClass
in interfaceorg.xwiki.rendering.macro.descriptor.MacroDescriptor
-
getParameterDescriptorMap
public Map<String,org.xwiki.rendering.macro.descriptor.ParameterDescriptor> getParameterDescriptorMap()
- Specified by:
getParameterDescriptorMap
in interfaceorg.xwiki.rendering.macro.descriptor.MacroDescriptor
-
getDefaultCategories
public Set<String> getDefaultCategories()
- Specified by:
getDefaultCategories
in interfaceorg.xwiki.rendering.macro.descriptor.MacroDescriptor
-
getVisibility
public WikiMacroVisibility getVisibility()
- Returns:
- the visibility of the macro (ie whether the macro is visible in the current wiki, for the current user or global)
- Since:
- 2.2M1
-
supportsInlineMode
public boolean supportsInlineMode()
- Specified by:
supportsInlineMode
in interfaceorg.xwiki.rendering.macro.descriptor.MacroDescriptor
-
-