if (LOG.isDebugEnabled()) {
LOG.debug("Purged drift changesets");
}
}
List<String> plugins = Arrays.asList(clearData.ofPlugins());
if (plugins.contains(ClearPersistedData.ALL_PLUGINS)) {
removeAllDataBut(dataDir, new String[] {"inventory.dat", "changesets"});
} else {
for(String n : plugins) {
FileUtil.purge(new File(dataDir, n), true);