A Swiss Army Knife for OSGi

aQute.bnd.service
Interface CommandPlugin


public interface CommandPlugin

A plugin that makes it possible to


Method Summary
 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 runs
command - 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 runs
command - the command name

Licensed under Apache Software License 2.0

Copyright å© aQute SARL (2000, 2011). All Rights Reserved.