public static final class DefaultPluginManager.WikiPluginInfo extends WikiModuleInfo
m_adminBeanClass, m_author, m_authorUrl, m_description, m_htmlTemplate, m_maxVersion, m_minVersion, m_moduleUrl, m_moduleVersion, m_name, m_resource, m_scriptLocation, m_scriptText, m_stylesheetLocation, m_stylesheetText| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAjaxAlias()
Returns the ajax alias name for this object.
|
java.lang.String |
getAlias()
Returns the alias name for this object.
|
java.lang.String |
getClassName()
Returns the full class name of this object.
|
java.lang.String |
getIncludeText(java.lang.String type)
Returns a text for IncludeResources.
|
protected void |
initializeFromXML(org.jdom2.Element el)
Initializes the ModuleInfo from some standard XML elements which are under the given element.
|
Plugin |
newPluginInstance(java.util.List<java.lang.String> searchPath,
java.util.List<java.lang.String> externalJars)
Creates a new plugin instance.
|
java.lang.String |
toString()
Returns a string suitable for debugging.
|
compareTo, equals, getAdminBeanClass, getAuthor, getAuthorUrl, getDescription, getHtmlTemplate, getMaxVersion, getMinVersion, getModuleUrl, getModuleVersion, getName, getScriptLocation, getStylesheetLocation, getTextResource, hashCodeprotected void initializeFromXML(org.jdom2.Element el)
initializeFromXML in class WikiModuleInfoel - The element to parse.public java.lang.String getClassName()
public java.lang.String getAlias()
public java.lang.String getAjaxAlias()
public Plugin newPluginInstance(java.util.List<java.lang.String> searchPath, java.util.List<java.lang.String> externalJars) throws java.lang.ReflectiveOperationException
searchPath - A List of Strings, containing different package names.externalJars - the list of external jars to searchjava.lang.ClassNotFoundException - If the class declared was not found.java.lang.InstantiationException - If the class cannot be instantiated-java.lang.IllegalAccessException - If the class cannot be accessed.java.lang.ReflectiveOperationExceptionpublic java.lang.String getIncludeText(java.lang.String type)
type - Either "script" or "stylesheet"public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.