Package org.apache.wiki.ui.admin.beans
Class PluginBean
java.lang.Object
org.apache.wiki.management.SimpleMBean
org.apache.wiki.ui.admin.SimpleAdminBean
org.apache.wiki.ui.admin.beans.ModuleBean
org.apache.wiki.ui.admin.beans.PluginBean
- All Implemented Interfaces:
DynamicMBean,AdminBean,GenericHTTPHandler
public class PluginBean extends ModuleBean
-
Field Summary
Fields inherited from class org.apache.wiki.ui.admin.SimpleAdminBean
m_engineFields inherited from class org.apache.wiki.management.SimpleMBean
m_beanInfo -
Constructor Summary
Constructors Constructor Description PluginBean(Engine engine) -
Method Summary
Modifier and Type Method Description StringgetTitle()Return a human-readable title for this AdminBean.intgetType()Returns a type (UNKNOWN, EDITOR, etc).protected org.jdom2.Elementheading()html blob describing the values of eachWikiModuleInfoinspected.protected Collection<WikiModuleInfo>modules()Obtains the collection of modules which is going to be inspected atModuleBean.doGet(WikiContext).protected org.jdom2.ElementrowBody(WikiModuleInfo plugin)html blob describingElementdescribing attributesMethods inherited from class org.apache.wiki.ui.admin.beans.ModuleBean
containerForModuleDetail, doGet, getAttributeNames, getMethodNames, title, validModuleVersionMethods inherited from class org.apache.wiki.ui.admin.SimpleAdminBean
doPost, getId, initializeMethods inherited from class org.apache.wiki.management.SimpleMBean
getAttribute, getAttributes, getDescription, getMBeanInfo, invoke, setAttribute, setAttributes
-
Constructor Details
-
PluginBean
- Throws:
NotCompliantMBeanException
-
-
Method Details
-
getTitle
Return a human-readable title for this AdminBean.- Returns:
- the bean's title
-
getType
Returns a type (UNKNOWN, EDITOR, etc).- Returns:
- the bean's type
-
modules
Obtains the collection of modules which is going to be inspected atModuleBean.doGet(WikiContext).- Specified by:
modulesin classModuleBean- Returns:
- a collection of
WikiModuleInfo
-
heading
html blob describing the values of eachWikiModuleInfoinspected.- Specified by:
headingin classModuleBean- Returns:
Elementdescribing the values of eachWikiModuleInfoinspected.
-
rowBody
html blob describingElementdescribing attributes- Specified by:
rowBodyin classModuleBean- Parameters:
plugin-WikiModuleInfoinspected.- Returns:
Elementdescribing theElementinspected.
-