Package aQute.bnd.service.lifecycle
Class LifeCyclePlugin
java.lang.Object
aQute.bnd.service.lifecycle.LifeCyclePlugin
- Direct Known Subclasses:
AntPlugin
,EclipsePlugin
,GitPlugin
,GradlePlugin
,MavenPlugin
The base class for a plugin that wants to intercept workspace life cycle
events.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
Called when the plugin is setup.void
void
removedPlugin
(Workspace workspace, String alias)
-
Constructor Details
-
LifeCyclePlugin
public LifeCyclePlugin()
-
-
Method Details
-
init
Called when the plugin is setup. This plugin will be added to the setup but the workspace is not yet refreshed.- Throws:
Exception
-
opened
- Throws:
Exception
-
close
- Throws:
Exception
-
created
- Throws:
Exception
-
delete
- Throws:
Exception
-
addedPlugin
public void addedPlugin(Workspace workspace, String name, String alias, Map<String, String> parameters) throws Exception- Throws:
Exception
-
removedPlugin
- Throws:
Exception
-
augmentSetup
public String augmentSetup(String setup, String alias, Map<String, String> parameters) throws Exception- Throws:
Exception
-