org.apache.maven.plugin.lifecycle.Execution 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;
/**
* A set of goals to execute.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class Execution
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Configuration to pass to the goals.
*/
private Object configuration;
/**
* Field goals.
*/
private java.util.List goals;
//-----------/
//- Methods -/
//-----------/
/**
* Method addGoal.
*
* @param string a string object.
*/
public void addGoal( String string )
{
getGoals().add( string );
} //-- void addGoal( String )
/**
* Get configuration to pass to the goals.
*
* @return Object
*/
public Object getConfiguration()
{
return this.configuration;
} //-- Object getConfiguration()
/**
* Method getGoals.
*
* @return List
*/
public java.util.List getGoals()
{
if ( this.goals == null )
{
this.goals = new java.util.ArrayList();
}
return this.goals;
} //-- java.util.List getGoals()
/**
* Method removeGoal.
*
* @param string a string object.
*/
public void removeGoal( String string )
{
getGoals().remove( string );
} //-- void removeGoal( String )
/**
* Set configuration to pass to the goals.
*
* @param configuration a configuration object.
*/
public void setConfiguration( Object configuration )
{
this.configuration = configuration;
} //-- void setConfiguration( Object )
/**
* Set the goals to execute.
*
* @param goals a goals object.
*/
public void setGoals( java.util.List goals )
{
this.goals = goals;
} //-- void setGoals( java.util.List )
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy