Class LifecycleExecution
- java.lang.Object
-
- org.apache.maven.tools.plugin.extractor.model.LifecycleExecution
-
- All Implemented Interfaces:
Serializable
public class LifecycleExecution extends Object implements Serializable
A sub-process execution of a lifecycle to satisfy the needs of a mojo.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LifecycleExecution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGoal()
Get a goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.String
getLifecycle()
Get the name of the overlay to apply to the sub-lifecycle before executing it.String
getPhase()
Get the phase in the sub-lifecycle.void
setGoal(String goal)
Set a goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.void
setLifecycle(String lifecycle)
Set the name of the overlay to apply to the sub-lifecycle before executing it.void
setPhase(String phase)
Set the phase in the sub-lifecycle.
-
-
-
Constructor Detail
-
LifecycleExecution
public LifecycleExecution()
-
-
Method Detail
-
getGoal
public String getGoal()
Get a goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.- Returns:
- String
-
getLifecycle
public 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
-
setGoal
public void setGoal(String goal)
Set a goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.- Parameters:
goal
- a goal object.
-
setLifecycle
public void setLifecycle(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
- a lifecycle object.
-
-