public interface PluginIF
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVATED |
static int |
DEACTIVATED |
static int |
ERROR |
Modifier and Type | Method and Description |
---|---|
void |
addGroup(String groupId)
INTERNAL: Add the specified group to groups this plugin belongs to.
|
String |
generateHTML(ContextTag context)
INTERNAL: Called by the framework to make the plugin produce the
HTML that is going to represent it on a web page in the web
application.
|
String |
getDescription()
INTERNAL: Gets the description of this plugin.
|
List |
getGroups()
INTERNAL: Returns the groups this plugin belongs to.
|
String |
getId()
INTERNAL: Returns the ID of this plugin.
|
String |
getParameter(String name)
INTERNAL: Returns the value of the parameter.
|
String |
getPluginDirectory()
INTERNAL: Returns the path to the plugin directory.
|
int |
getState()
INTERNAL: Returns the state of this plugin.
|
String |
getTarget()
INTERNAL: Returns the URI frame target of this plugin.
|
String |
getTitle()
INTERNAL: Returns the title of this plugin.
|
String |
getURI()
INTERNAL: Returns the URI of this plugin.
|
void |
init()
INTERNAL: Called by the framework to finalize initialization.
|
void |
resetGroups()
INTERNAL: Reset all group settings for this plugin.
|
void |
setDescription(String description)
INTERNAL: Sets the description of this plugin.
|
void |
setGroups(List groups)
INTERNAL: Sets the groups this plugin belongs to.
|
void |
setId(String id)
INTERNAL: Sets the ID of this plugin.
|
void |
setParameter(String name,
String value)
INTERNAL: Called by the framework to give the plugin the value of a
configuration parameter.
|
void |
setPluginDirectory(String path)
INTERNAL: Called by the framework to give the plugin the directory
its plugin.xml file was found in.
|
void |
setState(int state)
INTERNAL: Sets the state of this plugin.
|
void |
setTarget(String target)
INTERNAL: Sets the URI frame target of this plugin.
|
void |
setTitle(String title)
INTERNAL: Sets the title of this plugin.
|
void |
setURI(String uri)
INTERNAL: Sets the URI of this plugin.
|
static final int ACTIVATED
static final int DEACTIVATED
static final int ERROR
String generateHTML(ContextTag context)
void init()
String getId()
void setId(String id)
List getGroups()
void resetGroups()
void addGroup(String groupId)
void setGroups(List groups)
String getTitle()
void setTitle(String title)
String getDescription()
void setDescription(String description)
String getURI()
void setURI(String uri)
Note: This has not to contain the web application context path.
Example: plugins/hello/hello.jsp
String getTarget()
void setTarget(String target)
int getState()
void setState(int state)
void setParameter(String name, String value)
String getPluginDirectory()
void setPluginDirectory(String path)