@Named public class MavenBuildContextFinalizer extends Object implements org.apache.maven.execution.scope.WeakMojoExecutionListener, BuildContextFinalizer
| Constructor and Description |
|---|
MavenBuildContextFinalizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterExecutionFailure(org.apache.maven.execution.MojoExecutionEvent event) |
void |
afterMojoExecutionSuccess(org.apache.maven.execution.MojoExecutionEvent event) |
void |
beforeMojoExecution(org.apache.maven.execution.MojoExecutionEvent event) |
protected void |
failBuild(Map<Object,Collection<Message>> messages) |
protected List<AbstractBuildContext> |
getRegisteredContexts() |
void |
registerContext(AbstractBuildContext context) |
protected static io.takari.incrementalbuild.workspace.MessageSink.Severity |
toMessageSinkSeverity(MessageSeverity severity) |
public void registerContext(AbstractBuildContext context)
registerContext in interface BuildContextFinalizerprotected List<AbstractBuildContext> getRegisteredContexts()
public void afterMojoExecutionSuccess(org.apache.maven.execution.MojoExecutionEvent event)
throws org.apache.maven.plugin.MojoExecutionException
afterMojoExecutionSuccess in interface org.apache.maven.execution.scope.WeakMojoExecutionListenerorg.apache.maven.plugin.MojoExecutionExceptionprotected void failBuild(Map<Object,Collection<Message>> messages) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void beforeMojoExecution(org.apache.maven.execution.MojoExecutionEvent event)
throws org.apache.maven.plugin.MojoExecutionException
beforeMojoExecution in interface org.apache.maven.execution.scope.WeakMojoExecutionListenerorg.apache.maven.plugin.MojoExecutionExceptionpublic void afterExecutionFailure(org.apache.maven.execution.MojoExecutionEvent event)
afterExecutionFailure in interface org.apache.maven.execution.scope.WeakMojoExecutionListenerprotected static io.takari.incrementalbuild.workspace.MessageSink.Severity toMessageSinkSeverity(MessageSeverity severity)
Copyright © 2015. All rights reserved.