public interface GenericPluginService
GenericPluginService
class.Modifier and Type | Interface and Description |
---|---|
static class |
GenericPluginService.QueryKey |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Deprecated.
This method will be removed in future releases.
Description of the plug-in. This value will be displayed in the UI when the user selects an plug-in to assign to an plugin point. |
java.lang.String |
getID()
returns the unique ID of the plug-in.
|
java.util.logging.Logger |
getLogger()
returns the logger configured for the plug-in.
|
long |
getMaxWaitIntervel()
returns the max wait interval in milliseconds.
|
java.util.Map<java.lang.String,MonitoringData> |
getMonitoringData()
plug-in can return monitoring data after plug-in execution is
complete.
|
boolean |
getMonitoringStatus()
set the monitoring status for the plug-in.
|
PluginConfig |
getPluginConfig()
Gets the plugin config.
|
java.lang.String |
getPluginName()
Deprecated.
This method will be removed in future releases.
Name will be an identifier for the plug-in. User can use the name and version of the plug-in in plug-in UI to identify the plug-in user want to use. |
int |
getRevision()
Deprecated.
This method will be removed in future releases.
Returns back the plug-in revision. Items required for plug-in management. Revision should be an integer value. Plugin developers can keep track of multiple revisions of the plugin. The plugin development framework will take care of maintaining version. |
ExecutionStatus |
initialize(PluginConfig config)
The function initializes the Plug-in.
|
boolean |
poweronSelfTest()
Plug-ins need to override this method to the
self test when the plug-ins are loaded.
|
void |
setMonitoringStatus(boolean status)
Deprecated.
This method will be removed in future releases.
get the monitoring status configured for the plugin. |
ExecutionStatus |
shutdown(java.util.Map<java.lang.String,java.io.Serializable> AMEnvironmentContext)
Shutdown.
|
ExecutionStatus initialize(PluginConfig config)
AMEnvironmentContext
- the aM environment contextExecutionStatus shutdown(java.util.Map<java.lang.String,java.io.Serializable> AMEnvironmentContext)
AMEnvironmentContext
- the aM environment contextint getRevision()
java.lang.String getPluginName()
java.lang.String getID()
java.lang.String getDescription()
java.util.logging.Logger getLogger()
PluginConfig getPluginConfig()
PluginConfig
object that contains the
plug-in configuration data.long getMaxWaitIntervel()
void setMonitoringStatus(boolean status)
status
- the new monitoring statusboolean getMonitoringStatus()
java.util.Map<java.lang.String,MonitoringData> getMonitoringData()
boolean poweronSelfTest()
poweronSelfTest
will be called by the framework after the
plug-in is loaded to check if the plug-in has all the
dependencies satisfied and ready to service.