org.apache.maven.plugin.lifecycle.LifecycleConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-plugin-api Show documentation
Show all versions of maven-plugin-api Show documentation
The API for plugins - Mojos - development.
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.1.2,
// any modifications will be overwritten.
// ==============================================================
package org.apache.maven.plugin.lifecycle;
/**
* Root element of the lifecycle.xml
file.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class LifecycleConfiguration
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Field lifecycles.
*/
private java.util.List lifecycles;
/**
* Field modelEncoding.
*/
private String modelEncoding = "UTF-8";
//-----------/
//- Methods -/
//-----------/
/**
* Method addLifecycle.
*
* @param lifecycle a lifecycle object.
*/
public void addLifecycle( Lifecycle lifecycle )
{
getLifecycles().add( lifecycle );
} //-- void addLifecycle( Lifecycle )
/**
* Method getLifecycles.
*
* @return List
*/
public java.util.List getLifecycles()
{
if ( this.lifecycles == null )
{
this.lifecycles = new java.util.ArrayList();
}
return this.lifecycles;
} //-- java.util.List getLifecycles()
/**
* Get the modelEncoding field.
*
* @return String
*/
public String getModelEncoding()
{
return this.modelEncoding;
} //-- String getModelEncoding()
/**
* Method removeLifecycle.
*
* @param lifecycle a lifecycle object.
*/
public void removeLifecycle( Lifecycle lifecycle )
{
getLifecycles().remove( lifecycle );
} //-- void removeLifecycle( Lifecycle )
/**
* Set the lifecycles field.
*
* @param lifecycles a lifecycles object.
*/
public void setLifecycles( java.util.List lifecycles )
{
this.lifecycles = lifecycles;
} //-- void setLifecycles( java.util.List )
/**
* Set the modelEncoding field.
*
* @param modelEncoding a modelEncoding object.
*/
public void setModelEncoding( String modelEncoding )
{
this.modelEncoding = modelEncoding;
} //-- void setModelEncoding( String )
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy