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