public class MojoExecutionEvent
extends java.lang.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.MojoExecutionListener,
WeakMojoExecutionListener| Constructor | Description |
|---|---|
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
org.apache.maven.plugin.Mojo mojo) |
|
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
org.apache.maven.plugin.Mojo mojo,
java.lang.Throwable cause) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Throwable |
getCause() |
|
MojoExecution |
getExecution() |
|
org.apache.maven.plugin.Mojo |
getMojo() |
|
MavenProject |
getProject() |
|
MavenSession |
getSession() |
public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, org.apache.maven.plugin.Mojo mojo)
public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, org.apache.maven.plugin.Mojo mojo, java.lang.Throwable cause)
public MavenSession getSession()
public MavenProject getProject()
public MojoExecution getExecution()
public org.apache.maven.plugin.Mojo getMojo()
public java.lang.Throwable getCause()