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

org.apache.maven.continuum.xmlrpc.project.Project Maven / Gradle / Ivy

The newest version!
/*
 =================== DO NOT EDIT THIS FILE ====================
 Generated by Modello
 any modifications will be overwritten.
 ==============================================================
 */

package org.apache.maven.continuum.xmlrpc.project;

  //---------------------------------/
 //- Imported classes and packages -/
//---------------------------------/

import org.apache.continuum.xmlrpc.release.ContinuumReleaseResult;
import org.apache.continuum.xmlrpc.repository.AbstractPurgeConfiguration;
import org.apache.continuum.xmlrpc.repository.DirectoryPurgeConfiguration;
import org.apache.continuum.xmlrpc.repository.LocalRepository;
import org.apache.continuum.xmlrpc.repository.RepositoryPurgeConfiguration;
import org.apache.continuum.xmlrpc.utils.BuildTrigger;
import org.apache.maven.continuum.xmlrpc.scm.ChangeFile;
import org.apache.maven.continuum.xmlrpc.scm.ChangeSet;
import org.apache.maven.continuum.xmlrpc.scm.ScmResult;
import org.apache.maven.continuum.xmlrpc.system.Installation;
import org.apache.maven.continuum.xmlrpc.system.Profile;
import org.apache.maven.continuum.xmlrpc.system.SystemConfiguration;

/**
 * Class Project.
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class Project
    extends ProjectSummary
    implements java.io.Serializable
{

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

    /**
     * Field parent.
     */
    private ProjectDependency parent;

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

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

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

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


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

    /**
     * Method addBuildDefinition.
     * 
     * @param buildDefinition
     */
    public void addBuildDefinition( BuildDefinition buildDefinition )
    {
        getBuildDefinitions().add( buildDefinition );
    } //-- void addBuildDefinition( BuildDefinition )

    /**
     * Method addDependency.
     * 
     * @param projectDependency
     */
    public void addDependency( ProjectDependency projectDependency )
    {
        getDependencies().add( projectDependency );
    } //-- void addDependency( ProjectDependency )

    /**
     * Method addDeveloper.
     * 
     * @param projectDeveloper
     */
    public void addDeveloper( ProjectDeveloper projectDeveloper )
    {
        getDevelopers().add( projectDeveloper );
    } //-- void addDeveloper( ProjectDeveloper )

    /**
     * Method addNotifier.
     * 
     * @param projectNotifier
     */
    public void addNotifier( ProjectNotifier projectNotifier )
    {
        getNotifiers().add( projectNotifier );
    } //-- void addNotifier( ProjectNotifier )

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

        return this.buildDefinitions;
    } //-- java.util.List getBuildDefinitions()

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

        return this.dependencies;
    } //-- java.util.List getDependencies()

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

        return this.developers;
    } //-- java.util.List getDevelopers()

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

        return this.notifiers;
    } //-- java.util.List getNotifiers()

    /**
     * Get the parent field.
     * 
     * @return ProjectDependency
     */
    public ProjectDependency getParent()
    {
        return this.parent;
    } //-- ProjectDependency getParent()

    /**
     * Method removeBuildDefinition.
     * 
     * @param buildDefinition
     */
    public void removeBuildDefinition( BuildDefinition buildDefinition )
    {
        getBuildDefinitions().remove( buildDefinition );
    } //-- void removeBuildDefinition( BuildDefinition )

    /**
     * Method removeDependency.
     * 
     * @param projectDependency
     */
    public void removeDependency( ProjectDependency projectDependency )
    {
        getDependencies().remove( projectDependency );
    } //-- void removeDependency( ProjectDependency )

    /**
     * Method removeDeveloper.
     * 
     * @param projectDeveloper
     */
    public void removeDeveloper( ProjectDeveloper projectDeveloper )
    {
        getDevelopers().remove( projectDeveloper );
    } //-- void removeDeveloper( ProjectDeveloper )

    /**
     * Method removeNotifier.
     * 
     * @param projectNotifier
     */
    public void removeNotifier( ProjectNotifier projectNotifier )
    {
        getNotifiers().remove( projectNotifier );
    } //-- void removeNotifier( ProjectNotifier )

    /**
     * Set the buildDefinitions field.
     * 
     * @param buildDefinitions
     */
    public void setBuildDefinitions( java.util.List buildDefinitions )
    {
        this.buildDefinitions = buildDefinitions;
    } //-- void setBuildDefinitions( java.util.List )

    /**
     * Set the dependencies field.
     * 
     * @param dependencies
     */
    public void setDependencies( java.util.List dependencies )
    {
        this.dependencies = dependencies;
    } //-- void setDependencies( java.util.List )

    /**
     * Set the developers field.
     * 
     * @param developers
     */
    public void setDevelopers( java.util.List developers )
    {
        this.developers = developers;
    } //-- void setDevelopers( java.util.List )

    /**
     * Set the notifiers field.
     * 
     * @param notifiers
     */
    public void setNotifiers( java.util.List notifiers )
    {
        this.notifiers = notifiers;
    } //-- void setNotifiers( java.util.List )

    /**
     * Set the parent field.
     * 
     * @param parent
     */
    public void setParent( ProjectDependency parent )
    {
        this.parent = parent;
    } //-- void setParent( ProjectDependency )

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy