|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHQUPlugin
Implementors of this interface (notably, HQUPlugin) are able to be
dispatched by the HQU RenditServer
.
This interface primarily deals with how the UI plugins are deployed,
and attached to UI areas
Method Summary | |
---|---|
void |
deploy(UIPlugin me)
Called when HQ deploys a plugin. |
AttachmentDescriptor |
getAttachmentDescriptor(Attachment a,
Resource r,
AuthzSubject u)
Get an attachment descriptor for the attachment and associated resource. |
java.lang.String |
getDescription()
Returns a localized string, containing the description of the plugin. |
java.util.Properties |
getDescriptor()
Returns information about the plugin. |
java.lang.String |
getName()
Get the name of the plugin. |
void |
initialize(java.io.File pluginDir)
Called before anything else, to inform the plugin where it is located on disk. |
Method Detail |
---|
void initialize(java.io.File pluginDir)
java.util.Properties getDescriptor()
java.lang.String getName()
java.lang.String getDescription()
void deploy(UIPlugin me)
me
- HQ's internal representation of the pluginAttachmentDescriptor getAttachmentDescriptor(Attachment a, Resource r, AuthzSubject u)
a
- An attachment, previously created via deploy (or some other
means)r
- The resource that is currently being viewed, when the
attachment is being rendered. For attachments that are
global, this will be the root resource (id=0)u
- The user, attempting to view the attachment
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |