public class MojoExecutionScope extends Object implements com.google.inject.Scope, MojoExecutionListener
| Constructor and Description | 
|---|
| MojoExecutionScope() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterExecutionFailure(MojoExecutionEvent event) | 
| void | afterMojoExecutionSuccess(MojoExecutionEvent event) | 
| void | beforeMojoExecution(MojoExecutionEvent event) | 
| void | enter() | 
| void | exit() | 
| <T> com.google.inject.Provider<T> | scope(com.google.inject.Key<T> key,
     com.google.inject.Provider<T> unscoped) | 
| <T> void | seed(Class<T> clazz,
    com.google.inject.Provider<T> value) | 
| <T> void | seed(Class<T> clazz,
    T value) | 
| static <T> com.google.inject.Provider<T> | seededKeyProvider() | 
public void enter()
public void exit()
          throws MojoExecutionException
MojoExecutionExceptionpublic <T> void seed(Class<T> clazz, com.google.inject.Provider<T> value)
public <T> void seed(Class<T> clazz, T value)
public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key,
                                               com.google.inject.Provider<T> unscoped)
scope in interface com.google.inject.Scopepublic static <T> com.google.inject.Provider<T> seededKeyProvider()
public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException
beforeMojoExecution in interface MojoExecutionListenerMojoExecutionExceptionpublic void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException
afterMojoExecutionSuccess in interface MojoExecutionListenerMojoExecutionExceptionpublic void afterExecutionFailure(MojoExecutionEvent event)
afterExecutionFailure in interface MojoExecutionListenerCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.