use of com.axway.ats.core.filesystem.snapshot.SnapshotConfiguration in project ats-framework by Axway.
the class FileSystemSnapshot method loadConfiguration.
/**
* Extract all the configuration information we are interested in.
* It will be send to the local or remote instance.
*/
private void loadConfiguration() {
ActionLibraryConfigurator configurator = ActionLibraryConfigurator.getInstance();
configuration = new SnapshotConfiguration();
configuration.setCheckModificationTime(configurator.getFileSnapshotCheckModificationTime());
configuration.setCheckSize(configurator.getFileSnapshotCheckFileSize());
configuration.setCheckMD5(configurator.getFileSnapshotCheckFileMd5());
configuration.setCheckPermissions(configurator.getFileSnapshotCheckFilePermissions());
configuration.setSupportHidden(configurator.getFileSnapshotSupportHiddenFiles());
}
Aggregations