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

org.eclipse.jkube.kit.enricher.api.model.Dependency Maven / Gradle / Ivy

There is a newer version: 1.17.0
Show newest version
/**
 * Copyright (c) 2019 Red Hat, Inc.
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at:
 *
 *     https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *   Red Hat, Inc. - initial API and implementation
 */
package org.eclipse.jkube.kit.enricher.api.model;


import org.eclipse.jkube.kit.config.resource.GroupArtifactVersion;

import java.io.File;

public class Dependency {

    // GAV coordinates of dependency
    private GroupArtifactVersion gav;

    // Dependency type ("jar", "war", ...)
    private String type;

    // Scope of the dependency ("compile", "runtime", ...)
    private String scope;

    // Location where the dependent jar is located
    private File location;

    public Dependency(GroupArtifactVersion gav, String type, String scope, File location) {
        this.gav = gav;
        this.type = type;
        this.scope = scope;
        this.location = location;
    }

    public GroupArtifactVersion getGav() {
        return gav;
    }

    public String getType() {
        return type;
    }

    public String getScope() {
        return scope;
    }

    public File getLocation() {
        return location;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy