public interface PluginRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
addPlugin(PluginMetadata plugin)
Add a plugin to the registry.
|
List<PluginMetadata> |
getPluginMetadata(String plugin)
Get the
PluginMetadata for the given plugin name. |
PluginMetadata |
getPluginMetadataForScopeAndConstraints(String name,
Shell shell)
Resolves a single
PluginMetadata instance representing the singular type that is in scope, and satisfied
by the current project constraints such as RequiresProject or RequiresFacet |
Map<String,List<PluginMetadata>> |
getPlugins()
Get a map of all known plugin names and metadata.
|
Plugin |
instanceOf(PluginMetadata meta)
Get the
Plugin instance defined by the given PluginMetadata |
void addPlugin(PluginMetadata plugin)
List<PluginMetadata> getPluginMetadata(String plugin)
PluginMetadata for the given plugin name. Returns an empty list if no plugins exist for the given
name.PluginMetadata getPluginMetadataForScopeAndConstraints(String name, Shell shell)
PluginMetadata instance representing the singular type that is in scope, and satisfied
by the current project constraints such as RequiresProject or RequiresFacetMap<String,List<PluginMetadata>> getPlugins()
Plugin instanceOf(PluginMetadata meta)
Plugin instance defined by the given PluginMetadataCopyright © 2013 JBoss by Red Hat. All Rights Reserved.