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

org.codehaus.mojo.license.download.License Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package org.codehaus.mojo.license.download;

/*
 * #%L
 * License Maven Plugin
 * %%
 * Copyright (C) 2018 MojoHaus
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Lesser Public License for more details.
 *
 * You should have received a copy of the GNU General Lesser Public
 * License along with this program.  If not, see
 * .
 * #L%
 */

/**
 * @author Peter Palaga
 * @since 1.20
 */
public class License
{

    /**
     * The full legal name of the license.
     */
    private final String name;

    /**
     * The official url for the license text.
     */
    private final String url;

    /**
     * The primary method by which this project may be distributed.
     * 
*
repo
*
may be downloaded from the Maven repository
*
manual
*
user must manually download and install the dependency.
*
*/ private final String distribution; /** * Addendum information pertaining to this license. */ private final String comments; public License( String name, String url, String distribution, String comments ) { super(); this.name = name; this.url = url; this.distribution = distribution; this.comments = comments; } public String getName() { return name; } public String getUrl() { return url; } public String getDistribution() { return distribution; } public String getComments() { return comments; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy