Package org.apache.maven.buildcache
Class MojoParametersListener
java.lang.Object
org.apache.maven.buildcache.MojoParametersListener
- All Implemented Interfaces:
org.apache.maven.execution.MojoExecutionListener
@Singleton
@Named
public class MojoParametersListener
extends Object
implements org.apache.maven.execution.MojoExecutionListener
MojoParametersListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterExecutionFailure(org.apache.maven.execution.MojoExecutionEvent event) voidafterMojoExecutionSuccess(org.apache.maven.execution.MojoExecutionEvent event) voidbeforeMojoExecution(org.apache.maven.execution.MojoExecutionEvent event) getProjectExecutions(org.apache.maven.project.MavenProject project) voidsetCacheState(CacheState cacheState)
-
Constructor Details
-
MojoParametersListener
public MojoParametersListener()
-
-
Method Details
-
beforeMojoExecution
public void beforeMojoExecution(org.apache.maven.execution.MojoExecutionEvent event) - Specified by:
beforeMojoExecutionin interfaceorg.apache.maven.execution.MojoExecutionListener
-
afterMojoExecutionSuccess
public void afterMojoExecutionSuccess(org.apache.maven.execution.MojoExecutionEvent event) throws org.apache.maven.plugin.MojoExecutionException - Specified by:
afterMojoExecutionSuccessin interfaceorg.apache.maven.execution.MojoExecutionListener- Throws:
org.apache.maven.plugin.MojoExecutionException
-
afterExecutionFailure
public void afterExecutionFailure(org.apache.maven.execution.MojoExecutionEvent event) - Specified by:
afterExecutionFailurein interfaceorg.apache.maven.execution.MojoExecutionListener
-
getProjectExecutions
-
setCacheState
-