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

org.jfrog.build.api.release.Distribution Maven / Gradle / Ivy

package org.jfrog.build.api.release;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yahavi on 12/04/2017.
 */
public class Distribution implements Serializable {
    private boolean publish = true;
    private boolean overrideExistingFiles = false;
    private String gpgPassphrase;
    private boolean async = false;
    private String targetRepo;
    private List sourceRepos;
    private boolean dryRun = false;

    public Distribution(boolean publish, boolean overrideExistingFiles, String gpgPassphrase, boolean async, String targetRepo, List sourceRepos, boolean dryRun) {
        this.publish = publish;
        this.overrideExistingFiles = overrideExistingFiles;
        this.gpgPassphrase = gpgPassphrase;
        this.async = async;
        this.targetRepo = targetRepo;
        this.sourceRepos = sourceRepos;
        this.dryRun = dryRun;
    }

    public boolean isPublish() {
        return publish;
    }

    public void setPublish(boolean publish) {
        this.publish = publish;
    }

    public boolean isOverrideExistingFiles() {
        return overrideExistingFiles;
    }

    public void setOverrideExistingFiles(boolean overrideExistingFiles) {
        this.overrideExistingFiles = overrideExistingFiles;
    }

    public String getGpgPassphrase() {
        return gpgPassphrase;
    }

    public void setGpgPassphrase(String gpgPassphrase) {
        this.gpgPassphrase = gpgPassphrase;
    }

    public boolean isAsync() {
        return async;
    }

    public void setAsync(boolean async) {
        this.async = async;
    }

    public String getTargetRepo() {
        return targetRepo;
    }

    public void setTargetRepo(String targetRepo) {
        this.targetRepo = targetRepo;
    }

    public List getSourceRepos() {
        return sourceRepos;
    }

    public void setSourceRepos(List sourceRepos) {
        this.sourceRepos = sourceRepos;
    }

    public boolean isDryRun() {
        return dryRun;
    }

    public void setDryRun(boolean dryRun) {
        this.dryRun = dryRun;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy