
org.apache.maven.continuum.xmlrpc.project.BuildAgentConfiguration 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 BuildAgentConfiguration.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class BuildAgentConfiguration
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Field url.
*/
private String url;
/**
* Field description.
*/
private String description;
/**
* Field enabled.
*/
private boolean enabled = false;
/**
* Field platform.
*/
private String platform;
/**
* Field installations.
*/
private java.util.List installations;
//-----------/
//- Methods -/
//-----------/
/**
* Method addInstallation.
*
* @param installation
*/
public void addInstallation( Installation installation )
{
getInstallations().add( installation );
} //-- void addInstallation( Installation )
/**
* Get the description field.
*
* @return String
*/
public String getDescription()
{
return this.description;
} //-- String getDescription()
/**
* Method getInstallations.
*
* @return List
*/
public java.util.List getInstallations()
{
if ( this.installations == null )
{
this.installations = new java.util.ArrayList();
}
return this.installations;
} //-- java.util.List getInstallations()
/**
* Get the platform field.
*
* @return String
*/
public String getPlatform()
{
return this.platform;
} //-- String getPlatform()
/**
* Get the url field.
*
* @return String
*/
public String getUrl()
{
return this.url;
} //-- String getUrl()
/**
* Get the enabled field.
*
* @return boolean
*/
public boolean isEnabled()
{
return this.enabled;
} //-- boolean isEnabled()
/**
* Method removeInstallation.
*
* @param installation
*/
public void removeInstallation( Installation installation )
{
getInstallations().remove( installation );
} //-- void removeInstallation( Installation )
/**
* Set the description field.
*
* @param description
*/
public void setDescription( String description )
{
this.description = description;
} //-- void setDescription( String )
/**
* Set the enabled field.
*
* @param enabled
*/
public void setEnabled( boolean enabled )
{
this.enabled = enabled;
} //-- void setEnabled( boolean )
/**
* Set the installations field.
*
* @param installations
*/
public void setInstallations( java.util.List installations )
{
this.installations = installations;
} //-- void setInstallations( java.util.List )
/**
* Set the platform field.
*
* @param platform
*/
public void setPlatform( String platform )
{
this.platform = platform;
} //-- void setPlatform( String )
/**
* Set the url field.
*
* @param url
*/
public void setUrl( String url )
{
this.url = url;
} //-- void setUrl( String )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy