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 false
public void propertySet(String property, Map<String,Object> params)
PropertyEventListener
params
will contain the
the value of the property under the key value
.propertySet
in interface PropertyEventListener
property
- the name of the property.params
- event parameters.public void propertyDeleted(String property, Map<String,Object> params)
PropertyEventListener
propertyDeleted
in interface PropertyEventListener
property
- the name of the property deleted.params
- event parameters.public void xmlPropertySet(String property, Map<String,Object> params)
PropertyEventListener
params
will contain the
the value of the property under the key value
.xmlPropertySet
in interface PropertyEventListener
property
- the name of the property.params
- event parameters.public void xmlPropertyDeleted(String property, Map<String,Object> params)
PropertyEventListener
xmlPropertyDeleted
in interface PropertyEventListener
property
- the name of the property.params
- event parameters.Copyright © 2003–2020 Ignite Realtime. All rights reserved.