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

org.jfrog.build.api.dependency.pattern.DependencyPattern Maven / Gradle / Ivy

There is a newer version: 2.41.23
Show newest version
package org.jfrog.build.api.dependency.pattern;

/**
 * @author Shay Yaakov
 */
public class DependencyPattern {

    protected String pattern; // "libs-release-local:com/plugins/gradle/0.1.1/*.jar"

    protected String matrixParams; // "status+=prod;QA=passed"

    protected String targetDirectory; // Directory to download dependencies to (what's after the => sign)

    protected PatternType patternType = PatternType.NORMAL;

    public DependencyPattern(String pattern, String matrixParams, String targetDirectory, PatternType patternType) {
        this.pattern = pattern;
        this.matrixParams = matrixParams;
        this.targetDirectory = targetDirectory;
        this.patternType = patternType;
    }

    public String getPattern() {
        return pattern;
    }

    public String getMatrixParams() {
        return matrixParams;
    }

    public String getTargetDirectory() {
        return targetDirectory;
    }

    public PatternType getPatternType() {
        return patternType;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy