@Test public void testNotIgnoreAddColumn() { final AddColumnChange change = new AddColumnChange(); final ChangeSet changeSet = new ChangeSet(null); changeSet.addChange(change); assertFalse(LiquibaseHelper.isIgnoredChangeSet(changeSet)); }
static boolean isIgnoredChangeSet(final ChangeSet changeSet) { final List<Change> changes = changeSet.getChanges(); if (changes.size() != 1) { return false; } final Change change = changes.get(0); if (!(change instanceof DropTableChange)) { return false; } return ((DropTableChange) change).getTableName().equals("JGROUPSPING"); }
LiquibaseHelper { static boolean isIgnoredChangeSet(final ChangeSet changeSet) { final List<Change> changes = changeSet.getChanges(); if (changes.size() != 1) { return false; } final Change change = changes.get(0); if (!(change instanceof DropTableChange)) { return false; } return ((DropTableChange) change).getTableName().equals("JGROUPSPING"); } }
LiquibaseHelper { static boolean isIgnoredChangeSet(final ChangeSet changeSet) { final List<Change> changes = changeSet.getChanges(); if (changes.size() != 1) { return false; } final Change change = changes.get(0); if (!(change instanceof DropTableChange)) { return false; } return ((DropTableChange) change).getTableName().equals("JGROUPSPING"); } LiquibaseHelper(final Map<String, String> props);   LiquibaseHelper(
            final Map<String, String> props,
            final ResourceAccessor resourceAccessor,
            final File resourcesDir,
            final String masterChangeLogName); }
LiquibaseHelper { static boolean isIgnoredChangeSet(final ChangeSet changeSet) { final List<Change> changes = changeSet.getChanges(); if (changes.size() != 1) { return false; } final Change change = changes.get(0); if (!(change instanceof DropTableChange)) { return false; } return ((DropTableChange) change).getTableName().equals("JGROUPSPING"); } LiquibaseHelper(final Map<String, String> props);   LiquibaseHelper(
            final Map<String, String> props,
            final ResourceAccessor resourceAccessor,
            final File resourcesDir,
            final String masterChangeLogName); File getResourcesDir(); File getMasterChangeLogFile(); void migrate(); File generateMigrations(); }
LiquibaseHelper { static boolean isIgnoredChangeSet(final ChangeSet changeSet) { final List<Change> changes = changeSet.getChanges(); if (changes.size() != 1) { return false; } final Change change = changes.get(0); if (!(change instanceof DropTableChange)) { return false; } return ((DropTableChange) change).getTableName().equals("JGROUPSPING"); } LiquibaseHelper(final Map<String, String> props);   LiquibaseHelper(
            final Map<String, String> props,
            final ResourceAccessor resourceAccessor,
            final File resourcesDir,
            final String masterChangeLogName); File getResourcesDir(); File getMasterChangeLogFile(); void migrate(); File generateMigrations();  }