Interface ResidentMavenInvoker
- All Superinterfaces:
AutoCloseable,Invoker<MavenInvokerRequest<MavenOptions>>,MavenInvoker<MavenInvokerRequest<MavenOptions>>
- All Known Implementing Classes:
DefaultResidentMavenInvoker
@Experimental
public interface ResidentMavenInvoker
extends MavenInvoker<MavenInvokerRequest<MavenOptions>>
Resident invoker. Instance is shut down when this instance is closed.
- Since:
- 4.0.0
-
Method Summary
Methods inherited from interface org.apache.maven.api.cli.mvn.MavenInvoker
invoke
-
Method Details
-
close
Closes cleanly the daemon.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceInvoker<MavenInvokerRequest<MavenOptions>>- Throws:
InvokerException- if an error occurs while closing theInvoker
-