Package aQute.bnd.service
Interface CommandPlugin
-
public interface CommandPlugin
A plugin that makes it possible to- Author:
- aqute
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
after(Project project, java.lang.String command, java.lang.Throwable outcome)
Is run after a command is executed.void
before(Project project, java.lang.String command)
Is run before a command is executed.
-
-
-
Method Detail
-
before
void before(Project project, java.lang.String command)
Is run before a command is executed. These plugins are called in the order of declaration.- Parameters:
project
- The project for which the command runscommand
- the command name
-
after
void after(Project project, java.lang.String command, java.lang.Throwable outcome)
Is run after a command is executed. These plugins are called in the reverse order of declaration.- Parameters:
project
- The project for which the command runscommand
- the command name
-
-