Class MojoExecutionScope
java.lang.Object
org.apache.maven.impl.di.MojoExecutionScope
- All Implemented Interfaces:
Scope
- Direct Known Subclasses:
MojoExecutionScope
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenter()voidexit()protected MojoExecutionScope.ScopeState<T> Supplier<T> Scopes a supplier of instances.<T> void<T> voidstatic <T> Supplier<T> seededKeySupplier(Class<? extends T> clazz)
-
Constructor Details
-
MojoExecutionScope
public MojoExecutionScope()
-
-
Method Details
-
seededKeySupplier
-
enter
public void enter() -
getScopeState
-
exit
public void exit() -
seed
-
seed
-
scope
Description copied from interface:ScopeScopes a supplier of instances.This method wraps an unscoped instance supplier with scope-specific logic that controls when new instances are created versus when existing instances are reused.
-