aQute.bnd.service.lifecycle
Class LifeCyclePlugin
java.lang.Object
aQute.bnd.service.lifecycle.LifeCyclePlugin
- Direct Known Subclasses:
- AntPlugin, EclipsePlugin, GitPlugin, GradlePlugin, MavenPlugin
public abstract class LifeCyclePlugin
- extends Object
The base class for a plugin that wants to intercept workspace life cycle
events.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifeCyclePlugin
public LifeCyclePlugin()
init
public void init(Workspace ws)
throws Exception
- Called when the plugin is setup. This plugin will be added to the setup
but the workspace is not yet refreshed.
- Throws:
Exception
opened
public void opened(Project project)
throws Exception
- Throws:
Exception
close
public void close(Project project)
throws Exception
- Throws:
Exception
created
public void created(Project project)
throws Exception
- Throws:
Exception
delete
public void delete(Project project)
throws Exception
- Throws:
Exception
addedPlugin
public void addedPlugin(Workspace workspace,
String name,
String alias,
Map<String,String> parameters)
throws Exception
- Throws:
Exception
removedPlugin
public void removedPlugin(Workspace workspace,
String alias)
throws Exception
- Throws:
Exception
augmentSetup
public String augmentSetup(String setup,
String alias,
Map<String,String> parameters)
throws Exception
- Throws:
Exception
Copyright © 2014 aQute SARL. All rights reserved.