Class PrerunIncludeAllFilter

java.lang.Object
fr.paris.lutece.plugins.liquibase.filters.PrerunIncludeAllFilter
All Implemented Interfaces:
liquibase.changelog.IncludeAllFilter

public class PrerunIncludeAllFilter extends Object implements liquibase.changelog.IncludeAllFilter
Filter of the preliminary changelog (db/changelog-pre.xml) : selects ONLY the reserved pre-execution scripts (see PrerunScripts), executed before the main changelog is built and filtered (LUT-33326). The main changelog filter (TestIncludeAllFilter) excludes them symmetrically. No version logic applies here : a pre-execution changeset is candidate at every startup, liquibase alone decides through DATABASECHANGELOG (run once) and the changeset's preconditions. A prerun_db_* file at an unexpected location, misnamed, or owned by an undeclared component is a packaging fault, reported like an unresolved component (startup aborted under liquibase.safeRun=true). Instantiated by liquibase itself (no-arg constructor), outside any DI.
  • Constructor Details

    • PrerunIncludeAllFilter

      public PrerunIncludeAllFilter()
  • Method Details

    • include

      public boolean include(String changeLogPath)
      Specified by:
      include in interface liquibase.changelog.IncludeAllFilter