public class PluginMonitor extends Object implements PropertyEventListener
| Constructor and Description |
|---|
PluginMonitor(PluginManager pluginManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTaskRunning() |
void |
propertyDeleted(String property,
Map<String,Object> params)
A property was deleted.
|
void |
propertySet(String property,
Map<String,Object> params)
A property was set.
|
void |
runNow(boolean blockUntilDone)
Immediately run a check of the plugin directory.
|
void |
start()
Initialize the monitor.
|
void |
startMonitoring()
Start periodically checking the plugin directory.
|
void |
stop()
Shutdown the monitor.
|
void |
stopMonitoring()
Stop periodically checking the plugin directory.
|
void |
xmlPropertyDeleted(String property,
Map<String,Object> params)
An XML property was deleted.
|
void |
xmlPropertySet(String property,
Map<String,Object> params)
An XML property was set.
|
public PluginMonitor(PluginManager pluginManager)
public void start()
public void startMonitoring()
public void stop()
public void stopMonitoring()
public boolean isTaskRunning()
public void runNow(boolean blockUntilDone)
blockUntilDone - {code true} to wait until the check is complete, otherwise falsepublic void propertySet(String property, Map<String,Object> params)
PropertyEventListenerparams will contain the
the value of the property under the key value.propertySet in interface PropertyEventListenerproperty - the name of the property.params - event parameters.public void propertyDeleted(String property, Map<String,Object> params)
PropertyEventListenerpropertyDeleted in interface PropertyEventListenerproperty - the name of the property deleted.params - event parameters.public void xmlPropertySet(String property, Map<String,Object> params)
PropertyEventListenerparams will contain the
the value of the property under the key value.xmlPropertySet in interface PropertyEventListenerproperty - the name of the property.params - event parameters.public void xmlPropertyDeleted(String property, Map<String,Object> params)
PropertyEventListenerxmlPropertyDeleted in interface PropertyEventListenerproperty - the name of the property.params - event parameters.Copyright © 2003–2019 Ignite Realtime. All rights reserved.