Interface ExecutorHelper
- All Known Implementing Classes:
HelperImpl
public interface ExecutorHelper
Helper class for routing Maven execution based on preferences and/or issued execution requests.
-
Nested Class Summary
Nested Classes -
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.
-
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
-