|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>
com.atlassian.confluence.plugin.descriptor.XhtmlMacroModuleDescriptor
public class XhtmlMacroModuleDescriptor
| Field Summary | |
|---|---|
protected java.util.Set<java.lang.String> |
supportedDeviceTypes
|
| Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton |
| Constructor Summary | |
|---|---|
XhtmlMacroModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
MacroMetadataParser metadataParser)
|
|
| Method Summary | |
|---|---|
void |
disabled()
|
void |
enabled()
|
com.atlassian.plugin.elements.ResourceDescriptor |
getHelpDescriptor()
Returns the macro help descriptor, or null if there is no help. |
java.lang.String |
getHelpSection()
Returns the section of notation guide in which the macro help appears. |
MacroMetadata |
getMacroMetadata()
|
Macro |
getModule()
|
boolean |
hasHelp()
Returns true if the macro has help, otherwise false. |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
|
boolean |
isOutputDeviceTypeSupported(java.lang.String deviceType)
Check if the specified device type is supported. |
| Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
|---|
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Set<java.lang.String> supportedDeviceTypes
| Constructor Detail |
|---|
public XhtmlMacroModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
MacroMetadataParser metadataParser)
| Method Detail |
|---|
public void enabled()
enabled in interface com.atlassian.plugin.StateAwareenabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>public void disabled()
disabled in interface com.atlassian.plugin.StateAwaredisabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>
public void init(@NotNull
com.atlassian.plugin.Plugin plugin,
@NotNull
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.ModuleDescriptor<Macro>init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>com.atlassian.plugin.PluginParseExceptionpublic Macro getModule()
getModule in interface com.atlassian.plugin.ModuleDescriptor<Macro>getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Macro>public MacroMetadata getMacroMetadata()
getMacroMetadata in interface MacroMetadataSourcepublic boolean isOutputDeviceTypeSupported(java.lang.String deviceType)
ConversionContextOutputDeviceType.DESKTOP type.
deviceType - the device type to check.
public boolean hasHelp()
public java.lang.String getHelpSection()
java.lang.IllegalStateException - if this is called when #hasHelp() is falsepublic com.atlassian.plugin.elements.ResourceDescriptor getHelpDescriptor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||