All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.nagyesta.filebarj.job.cli.RestoreProperties Maven / Gradle / Ivy

package com.github.nagyesta.filebarj.job.cli;

import com.github.nagyesta.filebarj.core.common.PermissionComparisonStrategy;
import com.github.nagyesta.filebarj.core.model.BackupPath;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NonNull;
import lombok.experimental.SuperBuilder;

import java.nio.file.Path;
import java.util.Map;

/**
 * The parsed command line arguments of a restore task.
 */
@Data
@SuperBuilder
@EqualsAndHashCode(callSuper = true)
public class RestoreProperties extends BackupFileProperties {
    @NonNull
    private final Map targets;
    private final int threads;
    private final boolean dryRun;
    private final boolean deleteFilesNotInBackup;
    private final long pointInTimeEpochSeconds;
    private final BackupPath includedPath;
    private final PermissionComparisonStrategy permissionComparisonStrategy;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy