org.apache.maven.model
Class PluginExecution

java.lang.Object
  extended by org.apache.maven.model.ConfigurationContainer
      extended by org.apache.maven.model.PluginExecution
All Implemented Interfaces:
java.io.Serializable

public class PluginExecution
extends ConfigurationContainer
implements java.io.Serializable

The <execution> element contains informations required for the execution of a plugin.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_EXECUTION_ID
           
 
Constructor Summary
PluginExecution()
           
 
Method Summary
 void addGoal(java.lang.String string)
          Method addGoal
 java.util.List getGoals()
          Method getGoals
 java.lang.String getId()
          Get The identifier of this execution for labelling the goals during the build, and for matching exections to merge during inheritance.
 java.lang.String getModelEncoding()
           
 java.lang.String getPhase()
          Get The build lifecycle phase to bind the goals in this execution to.
 void removeGoal(java.lang.String string)
          Method removeGoal
 void setGoals(java.util.List goals)
          Set The goals to execute with the given configuration.
 void setId(java.lang.String id)
          Set The identifier of this execution for labelling the goals during the build, and for matching exections to merge during inheritance.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setPhase(java.lang.String phase)
          Set The build lifecycle phase to bind the goals in this execution to.
 
Methods inherited from class org.apache.maven.model.ConfigurationContainer
getConfiguration, getInherited, isInheritanceApplied, setConfiguration, setInherited, unsetInheritanceApplied
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_EXECUTION_ID

public static final java.lang.String DEFAULT_EXECUTION_ID
See Also:
Constant Field Values
Constructor Detail

PluginExecution

public PluginExecution()
Method Detail

addGoal

public void addGoal(java.lang.String string)
Method addGoal

Parameters:
string -

getGoals

public java.util.List getGoals()
Method getGoals


getId

public java.lang.String getId()
Get The identifier of this execution for labelling the goals during the build, and for matching exections to merge during inheritance.


getPhase

public java.lang.String getPhase()
Get The build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default specified in their metadata.


removeGoal

public void removeGoal(java.lang.String string)
Method removeGoal

Parameters:
string -

setGoals

public void setGoals(java.util.List goals)
Set The goals to execute with the given configuration.

Parameters:
goals -

setId

public void setId(java.lang.String id)
Set The identifier of this execution for labelling the goals during the build, and for matching exections to merge during inheritance.

Parameters:
id -

setPhase

public void setPhase(java.lang.String phase)
Set The build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default specified in their metadata.

Parameters:
phase -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Overrides:
setModelEncoding in class ConfigurationContainer

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class ConfigurationContainer


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.