Package aQute.bnd.service
Interface CommandPlugin
-
public interface CommandPluginA plugin that makes it possible to
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafter(Project project, java.lang.String command, java.lang.Throwable outcome)Is run after a command is executed.voidbefore(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
-
-