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

org.duracloud.syncui.domain.AdvancedForm Maven / Gradle / Ivy

There is a newer version: 8.1.0
Show newest version
/*
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 *     http://duracloud.org/license/
 */
package org.duracloud.syncui.domain;

import java.io.Serializable;

import org.duracloud.syncui.controller.ConfigurationController.UpdatePolicy;
import org.springframework.stereotype.Component;

/**
 * 
 * @author Daniel Bernstein
 *
 */
@Component
public class AdvancedForm implements Serializable{
    private String updatePolicy = UpdatePolicy.OVERWRITE.name();
    private boolean syncDeletes;
    private boolean jumpStart;

    public boolean isSyncDeletes() {
        return syncDeletes;
    }
    
    public void setSyncDeletes(boolean syncDeletes) {
        this.syncDeletes = syncDeletes;
    }
    
    public void setUpdatePolicy(String updatePolicy) {
        this.updatePolicy = updatePolicy;
    }
    
    public String getUpdatePolicy() {
        return updatePolicy;
    }

    public boolean isJumpStart() {
        return jumpStart;
    }

    public void setJumpStart(boolean jumpStart) {
        this.jumpStart = jumpStart;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy