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

org.apache.maven.plugins.assembly.model.GroupVersionAlignment Maven / Gradle / Ivy

Go to download

A Maven plugin to create archives of your project's sources, classes, dependencies etc. from flexible assembly descriptors.

There is a newer version: 3.7.1
Show newest version
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.0.0,
// any modifications will be overwritten.
// ==============================================================

package org.apache.maven.plugins.assembly.model;

/**
 * 
 *         Allows a group of artifacts to be aligned to a specified
 * version.
 *       
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class GroupVersionAlignment
    implements java.io.Serializable
{

      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * 
     *             The groupId of the artifacts for which you want
     * to align the
     *             versions.
     *           
     */
    private String id;

    /**
     * 
     *             The version you want to align this group to.
     *           
     */
    private String version;

    /**
     * Field excludes.
     */
    private java.util.List excludes;


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Method addExclude.
     * 
     * @param string a string object.
     */
    public void addExclude( String string )
    {
        getExcludes().add( string );
    } //-- void addExclude( String )

    /**
     * Method getExcludes.
     * 
     * @return List
     */
    public java.util.List getExcludes()
    {
        if ( this.excludes == null )
        {
            this.excludes = new java.util.ArrayList();
        }

        return this.excludes;
    } //-- java.util.List getExcludes()

    /**
     * Get the groupId of the artifacts for which you want to align
     * the
     *             versions.
     * 
     * @return String
     */
    public String getId()
    {
        return this.id;
    } //-- String getId()

    /**
     * Get the version you want to align this group to.
     * 
     * @return String
     */
    public String getVersion()
    {
        return this.version;
    } //-- String getVersion()

    /**
     * Method removeExclude.
     * 
     * @param string a string object.
     */
    public void removeExclude( String string )
    {
        getExcludes().remove( string );
    } //-- void removeExclude( String )

    /**
     * Set when <exclude> subelements are present, they
     * define the
     *             artifactIds of the artifacts to exclude. If none
     * is present, then
     *             <excludes> represents no exclusions. An
     * exclude is specified
     *             by providing one or more of <exclude>
     * subelements.
     * 
     * @param excludes a excludes object.
     */
    public void setExcludes( java.util.List excludes )
    {
        this.excludes = excludes;
    } //-- void setExcludes( java.util.List )

    /**
     * Set the groupId of the artifacts for which you want to align
     * the
     *             versions.
     * 
     * @param id a id object.
     */
    public void setId( String id )
    {
        this.id = id;
    } //-- void setId( String )

    /**
     * Set the version you want to align this group to.
     * 
     * @param version a version object.
     */
    public void setVersion( String version )
    {
        this.version = version;
    } //-- void setVersion( String )

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy