Interface CommandPlugin


public interface CommandPlugin
A plugin that makes it possible to
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    after(Project project, String command, Throwable outcome)
    Is run after a command is executed.
    void
    before(Project project, String command)
    Is run before a command is executed.
  • Method Details

    • before

      void before(Project project, 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, String command, 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