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

com.rei.ezup.EzUpConfig Maven / Gradle / Ivy

The newest version!
package com.rei.ezup;

import java.util.HashMap;
import java.util.Map;

import com.rei.aether.Aether;

public class EzUpConfig {
    private boolean interactive;
    private Map suppliedParameters = new HashMap<>();
    private boolean resolveDependencies;
    private Aether aether;
    private ProgressReporter progress;
    
    public EzUpConfig(boolean interactive, boolean resolveDependencies, Map suppliedParameters) {
        this(interactive, resolveDependencies, suppliedParameters, null, new ProgressReporter.Noop());
    }
    
    public EzUpConfig(boolean interactive, boolean resolveDependencies, Map suppliedParameters, Aether aether, ProgressReporter progress) {
        this.interactive = interactive;
        this.resolveDependencies = resolveDependencies;
        this.suppliedParameters = suppliedParameters;
        this.aether = aether;
        this.progress = progress;
    }
    
    public Aether getAether() {
        return aether;
    }
    
    public void setAether(Aether aether) {
        this.aether = aether;
    }

    public boolean isInteractive() {
        return interactive;
    }

    public void setInteractive(boolean interactive) {
        this.interactive = interactive;
    }

    public Map getSuppliedParameters() {
        return suppliedParameters;
    }

    public void setSuppliedParameters(Map suppliedParameters) {
        this.suppliedParameters = suppliedParameters;
    }

    public boolean isResolveDependencies() {
        return resolveDependencies;
    }

    public void setResolveDependencies(boolean resolveDependencies) {
        this.resolveDependencies = resolveDependencies;
    }
    
    public ProgressReporter getProgressReporter() {
        return progress;
    }
    
    public void setProgressReporter(ProgressReporter progress) {
        this.progress = progress;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy