Package org.apache.maven.cling.executor
Interface ExecutorHelper
- All Superinterfaces:
ExecutorTool
- All Known Implementing Classes:
HelperImpl
Helper class for routing Maven execution based on preferences and/or issued execution requests.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
execute
(ExecutorRequest executorRequest) Executes the request with preferred mode executor.int
execute
(ExecutorHelper.Mode mode, ExecutorRequest executorRequest) Executes the request with passed in mode executor.Creates pre-populated builder forExecutorRequest
.Returns the preferred mode of this helper.High level operation, returns the version of the Maven covered by this helper.Methods inherited from interface org.apache.maven.cling.executor.ExecutorTool
artifactPath, dump, localRepository, metadataPath
-
Method Details
-
getDefaultMode
Returns the preferred mode of this helper. -
executorRequest
Creates pre-populated builder forExecutorRequest
. Users of helper must use this method to create properly initialized request builder. -
execute
Executes the request with preferred mode executor.- Throws:
ExecutorException
-
execute
Executes the request with passed in mode executor.- Throws:
ExecutorException
-
mavenVersion
High level operation, returns the version of the Maven covered by this helper. This method call caches underlying operation, and is safe to invoke as many times needed.- See Also:
-