Package org.apache.maven.execution
Class MojoExecutionEvent
- java.lang.Object
-
- org.apache.maven.execution.MojoExecutionEvent
-
public class MojoExecutionEvent extends Object
Encapsulates parameters of MojoExecutionListener callback methods and is meant to provide API evolution path should it become necessary to introduce new parameters in the existing callbacks in the future.
Note: This class is part of work in progress and can be changed or removed without notice.- Since:
- 3.1.2
- See Also:
MojoExecutionListener
,WeakMojoExecutionListener
-
-
Constructor Summary
Constructors Constructor Description MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo)
MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getCause()
MojoExecution
getExecution()
Mojo
getMojo()
MavenProject
getProject()
MavenSession
getSession()
-
-
-
Constructor Detail
-
MojoExecutionEvent
public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo)
-
MojoExecutionEvent
public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause)
-
-
Method Detail
-
getSession
public MavenSession getSession()
-
getProject
public MavenProject getProject()
-
getExecution
public MojoExecution getExecution()
-
getMojo
public Mojo getMojo()
-
getCause
public Throwable getCause()
-
-