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.MojoExecutionListener
,
WeakMojoExecutionListener
Constructor and Description |
---|
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
Mojo mojo) |
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
Mojo mojo,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause() |
MojoExecution |
getExecution() |
Mojo |
getMojo() |
MavenProject |
getProject() |
MavenSession |
getSession() |
public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo)
public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause)
public MavenSession getSession()
public MavenProject getProject()
public MojoExecution getExecution()
public Mojo getMojo()
public Throwable getCause()
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.