Interface LiquibaseListener

  • All Known Implementing Classes:
    SqlListener

    public interface LiquibaseListener
    Base interface for all the different listeners available in liquibase. There are no common methods defined, since each listener can be very different, but the common base class allows them all to be registered through Scope.child(LiquibaseListener, Scope.ScopedRunner). To find all the listeners of a type, use Scope.getListeners(Class).

    Listener implementations should use a naming convention of "will" in methods that will be called before something happens such as SqlListener.readSqlWillRun(String) vs. methods in the past tense for something that already did happen.