|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PluginRegistry
Contains the collection of all installed and available plugins.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 RequiresFacet
Map<String,List<PluginMetadata>> getPlugins()
Plugin instanceOf(PluginMetadata meta)
Plugin instance defined by the given PluginMetadata
|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||