Search in sources :

Example 1 with SnapshotConfiguration

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());
}
Also used : ActionLibraryConfigurator(com.axway.ats.action.ActionLibraryConfigurator) SnapshotConfiguration(com.axway.ats.core.filesystem.snapshot.SnapshotConfiguration)

Aggregations

ActionLibraryConfigurator (com.axway.ats.action.ActionLibraryConfigurator)1 SnapshotConfiguration (com.axway.ats.core.filesystem.snapshot.SnapshotConfiguration)1