public List<String> getProvidedValues() {
List<String> pluginDBs = new ArrayList<String>();
Iterator<WGAPlugin> plugins = _core.getPluginSet().getPlugins().iterator();
while (plugins.hasNext()) {
WGAPlugin plugin = (WGAPlugin) plugins.next();
if (plugin.isActive()) {
switch (_usage) {
case PluginsOptionType.USAGE_ANY:
pluginDBs.add(plugin.buildDatabaseKey());
break;
case PluginsOptionType.USAGE_AUTHSOURCE:
if (plugin.getCsConfig().getPluginConfig().isUsageAsAuthSource()) {
pluginDBs.add(plugin.buildDatabaseKey());
}
break;
case PluginsOptionType.USAGE_CONTENTSTORE:
if (plugin.getCsConfig().getPluginConfig().isUsageAsContentStore()) {
pluginDBs.add(plugin.buildDatabaseKey());
}
break;
case PluginsOptionType.USAGE_DESIGNSOURCE:
if (plugin.getCsConfig().getPluginConfig().isUsageAsDesignProvider()) {
pluginDBs.add(plugin.buildDatabaseKey());
}
break;
}
}
}