
org.apache.maven.plugins.changes.model.Release Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-changes-plugin Show documentation
Show all versions of maven-changes-plugin Show documentation
Creates a release history for inclusion into the site and assists in generating an announcement mail.
The newest version!
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.4.0,
// any modifications will be overwritten.
// ==============================================================
package org.apache.maven.plugins.changes.model;
/**
* A single release of this project.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class Release
extends AbstractRelease
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
*
* The version number associated with this release.
*
*/
private String version;
/**
*
*
* The date of this release.
* This field can be any string, such as "in
* SVN" when the version isn't yet released but the ISO 8601
* date format is recommended.
*
*
*/
private String dateRelease;
/**
*
* A short description of this release.
*
*/
private String description;
/**
* Field actions.
*/
private java.util.List actions;
//-----------/
//- Methods -/
//-----------/
/**
* Method addAction.
*
* @param action a action object.
*/
public void addAction( Action action )
{
getActions().add( action );
} //-- void addAction( Action )
/**
* Method getActions.
*
* @return List
*/
public java.util.List getActions()
{
if ( this.actions == null )
{
this.actions = new java.util.ArrayList();
}
return this.actions;
} //-- java.util.List getActions()
/**
* Get the date of this release.
* This field can be any string, such as "in
* SVN" when the version isn't yet released but the ISO 8601
* date format is recommended.
*
* @return String
*/
public String getDateRelease()
{
return this.dateRelease;
} //-- String getDateRelease()
/**
* Get a short description of this release.
*
* @return String
*/
public String getDescription()
{
return this.description;
} //-- String getDescription()
/**
* Get the version number associated with this release.
*
* @return String
*/
public String getVersion()
{
return this.version;
} //-- String getVersion()
/**
* Method removeAction.
*
* @param action a action object.
*/
public void removeAction( Action action )
{
getActions().remove( action );
} //-- void removeAction( Action )
/**
* Set the list of actions taken for this release.
*
* @param actions a actions object.
*/
public void setActions( java.util.List actions )
{
this.actions = actions;
} //-- void setActions( java.util.List )
/**
* Set the date of this release.
* This field can be any string, such as "in
* SVN" when the version isn't yet released but the ISO 8601
* date format is recommended.
*
* @param dateRelease a dateRelease object.
*/
public void setDateRelease( String dateRelease )
{
this.dateRelease = dateRelease;
} //-- void setDateRelease( String )
/**
* Set a short description of this release.
*
* @param description a description object.
*/
public void setDescription( String description )
{
this.description = description;
} //-- void setDescription( String )
/**
* Set the version number associated with this release.
*
* @param version a version object.
*/
public void setVersion( String version )
{
this.version = version;
} //-- void setVersion( String )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy