public interface PluginProcessor
Modifier and Type | Interface and Description |
---|---|
static class |
PluginProcessor.PluginProcessorType |
Modifier and Type | Method and Description |
---|---|
static boolean |
isAValidPluginFileExtension(String fileName)
Checks if a plugin file has the valid extension
|
boolean |
isRegistered(String pluginName)
Checks if a plugin with the given name is registered.
|
void |
process(String pluginName,
String pluginDeploymentDir,
boolean notifyClients)
Processes a deployed plugin and optionally notifies clients
|
void |
removeAll()
Removes all plugins from this processor.
|
boolean |
shouldProcess(String pluginName)
Checks if this processor should process a given plugin
|
static boolean isAValidPluginFileExtension(String fileName)
fileName
- the file name of the pluginboolean shouldProcess(String pluginName)
pluginName
- the name of the plugin, must not be null.void removeAll()
void process(String pluginName, String pluginDeploymentDir, boolean notifyClients)
pluginName
- the name of the plugin, must not be null.pluginDeploymentDir
- the directory to deploy plugin contents to, must not be null.notifyClients
- trigger a event after plugin processingboolean isRegistered(String pluginName)
pluginName
- the name of the plugin, must not be null.Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.