org.apache.maven.plugin.tools.model
Class LifecycleExecution

java.lang.Object
  extended by org.apache.maven.plugin.tools.model.LifecycleExecution
All Implemented Interfaces:
java.io.Serializable

public class LifecycleExecution
extends java.lang.Object
implements java.io.Serializable

A sub-process execution of a lifecycle to satisfy the needs of a mojo.

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

Field Summary
private  java.lang.String goal
          Field goal
private  java.lang.String lifecycle
          Field lifecycle
private  java.lang.String modelEncoding
           
private  java.lang.String phase
          Field phase
 
Constructor Summary
LifecycleExecution()
           
 
Method Summary
 java.lang.String getGoal()
          Get A goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.
 java.lang.String getLifecycle()
          Get The name of the overlay to apply to the sub-lifecycle before executing it.
 java.lang.String getModelEncoding()
           
 java.lang.String getPhase()
          Get The phase in the sub-lifecycle.
 void setGoal(java.lang.String goal)
          Set A goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.
 void setLifecycle(java.lang.String lifecycle)
          Set The name of the overlay to apply to the sub-lifecycle before executing it.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setPhase(java.lang.String phase)
          Set The phase in the sub-lifecycle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lifecycle

private java.lang.String lifecycle
Field lifecycle


phase

private java.lang.String phase
Field phase


goal

private java.lang.String goal
Field goal


modelEncoding

private java.lang.String modelEncoding
Constructor Detail

LifecycleExecution

public LifecycleExecution()
Method Detail

getGoal

public java.lang.String getGoal()
Get A goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.


getLifecycle

public java.lang.String getLifecycle()
Get The name of the overlay to apply to the sub-lifecycle before executing it. If specified, this lifecycle overlay definition will be bundled with the plugin.


getPhase

public java.lang.String getPhase()
Get The phase in the sub-lifecycle.


setGoal

public void setGoal(java.lang.String goal)
Set A goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.

Parameters:
goal -

setLifecycle

public void setLifecycle(java.lang.String lifecycle)
Set The name of the overlay to apply to the sub-lifecycle before executing it. If specified, this lifecycle overlay definition will be bundled with the plugin.

Parameters:
lifecycle -

setPhase

public void setPhase(java.lang.String phase)
Set The phase in the sub-lifecycle.

Parameters:
phase -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()