Class LifecycleExecution
- java.lang.Object
-
- org.apache.maven.tools.plugin.extractor.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
Fields Modifier and Type Field Description private java.lang.String
goal
A goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.private java.lang.String
lifecycle
The name of the overlay to apply to the sub-lifecycle before executing it.private java.lang.String
phase
The phase in the sub-lifecycle.
-
Constructor Summary
Constructors Constructor Description LifecycleExecution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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
setPhase(java.lang.String phase)
Set the phase in the sub-lifecycle.
-
-
-
Field Detail
-
lifecycle
private java.lang.String lifecycle
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.
-
phase
private java.lang.String phase
The phase in the sub-lifecycle.
-
goal
private java.lang.String goal
A goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.
-
-
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.- Returns:
- String
-
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.- Returns:
- String
-
getPhase
public java.lang.String getPhase()
Get the phase in the sub-lifecycle.- Returns:
- String
-
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
-
-
-