public interface PluginControlService
Modifier and Type | Method and Description |
---|---|
void |
checkDisabledPlugin(java.lang.String pluginName,
java.lang.String serviceName) |
java.util.function.Predicate<java.lang.String> |
disabledPredicateForService(java.lang.String serviceName) |
java.util.function.Predicate<java.lang.String> |
enabledPredicateForService(java.lang.String serviceName) |
java.util.List<Description> |
filterEnabledPlugins(java.util.List<Description> plugins,
java.lang.String serviceName) |
java.util.Set<java.lang.String> |
getDisabledPlugins() |
boolean |
isDisabledPlugin(java.lang.String pluginName,
java.lang.String serviceName) |
java.util.List<java.lang.String> |
listDisabledPlugins() |
java.util.List<java.lang.String> listDisabledPlugins()
java.util.Set<java.lang.String> getDisabledPlugins()
java.util.List<Description> filterEnabledPlugins(java.util.List<Description> plugins, java.lang.String serviceName)
plugins
- descriptions listserviceName
- service namejava.util.function.Predicate<java.lang.String> enabledPredicateForService(java.lang.String serviceName)
serviceName
- service namejava.util.function.Predicate<java.lang.String> disabledPredicateForService(java.lang.String serviceName)
serviceName
- service nameboolean isDisabledPlugin(java.lang.String pluginName, java.lang.String serviceName)
pluginName
- provider nameserviceName
- service namevoid checkDisabledPlugin(java.lang.String pluginName, java.lang.String serviceName) throws PluginDisabledException
pluginName
- provider nameserviceName
- service namePluginDisabledException
- if the given plugin is disabled