Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- argument(String) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- arguments() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
The immutable list of arguments to pass to the command.
- arguments(List<String>) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
B
- build() - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
C
- close() - Method in interface org.apache.maven.api.cli.Executor
-
Closes and disposes of this
Executor
instance, releasing any resources it may hold. - close() - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- command() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
The command to execute, ie "mvn".
- command(String) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- Context(Properties, URLClassLoader, String, Object, ClassLoader, Function<ExecutorRequest, Integer>) - Constructor for class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor.Context
- createMavenBootClassLoader(Path, List<URL>) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- cwd() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns the current working directory for the Maven execution.
- cwd(Path) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
D
- discoverMavenHome() - Static method in interface org.apache.maven.api.cli.ExecutorRequest
- doClose(EmbeddedMavenExecutor.Context) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- doExecute(ExecutorRequest, Consumer<Process>) - Method in class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
E
- EmbeddedMavenExecutor - Class in org.apache.maven.cling.executor.embedded
-
Embedded executor implementation, that invokes Maven from installation directory within this same JVM but in isolated classloader.
- EmbeddedMavenExecutor() - Constructor for class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- EmbeddedMavenExecutor.Context - Class in org.apache.maven.cling.executor.embedded
- empyBuilder() - Static method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns new empty builder.
- execute(ExecutorRequest) - Method in interface org.apache.maven.api.cli.Executor
-
Invokes the tool application using the provided
ExecutorRequest
. - execute(ExecutorRequest) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- execute(ExecutorRequest) - Method in class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
- Executor - Interface in org.apache.maven.api.cli
-
Defines the contract for a component responsible for executing a Maven tool using the information provided in an
ExecutorRequest
. - ExecutorException - Exception Class in org.apache.maven.api.cli
-
Represents an exception that occurs during the execution of a Maven build or command.
- ExecutorException(String) - Constructor for exception class org.apache.maven.api.cli.ExecutorException
-
Constructs a new
InvokerException
with the specified detail message. - ExecutorException(String, Throwable) - Constructor for exception class org.apache.maven.api.cli.ExecutorException
-
Constructs a new
InvokerException
with the specified detail message and cause. - ExecutorRequest - Interface in org.apache.maven.api.cli
-
Represents a request to execute Maven with command-line arguments.
- ExecutorRequest.Builder - Class in org.apache.maven.api.cli
F
- ForkedMavenExecutor - Class in org.apache.maven.cling.executor.forked
-
Forked executor implementation, that spawns a subprocess with Maven from the installation directory.
- ForkedMavenExecutor() - Constructor for class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
G
- getCanonicalPath(Path) - Static method in interface org.apache.maven.api.cli.ExecutorRequest
- getMavenVersion(Class<?>) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
I
- installationDirectory() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns the Maven installation directory.
- installationDirectory(Path) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- IS_WINDOWS - Static variable in interface org.apache.maven.api.cli.Executor
J
- jvmArgument(String) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
- jvmArguments() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns the list of extra JVM arguments to be passed to the forked process.
- jvmArguments(List<String>) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
M
- mavenBuilder(Path) - Static method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns new builder pre-set to run Maven.
- mavenVersion(ExecutorRequest) - Method in interface org.apache.maven.api.cli.Executor
-
Returns the Maven version that provided
ExecutorRequest
point at (would use). - mavenVersion(ExecutorRequest) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- mavenVersion(ExecutorRequest) - Method in class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
- mayCreate(ExecutorRequest) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
O
- org.apache.maven.api.cli - package org.apache.maven.api.cli
- org.apache.maven.cling.executor.embedded - package org.apache.maven.cling.executor.embedded
- org.apache.maven.cling.executor.forked - package org.apache.maven.cling.executor.forked
T
- toBuilder() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns
ExecutorRequest.Builder
for this instance.
U
- UNKNOWN_VERSION - Static variable in interface org.apache.maven.api.cli.Executor
-
Maven version string returned when the actual version of Maven cannot be determinet.
- userHomeDirectory() - Method in interface org.apache.maven.api.cli.ExecutorRequest
-
Returns the user's home directory.
- userHomeDirectory(Path) - Method in class org.apache.maven.api.cli.ExecutorRequest.Builder
V
- validate(ExecutorRequest) - Method in class org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutor
- validate(ExecutorRequest) - Method in class org.apache.maven.cling.executor.forked.ForkedMavenExecutor
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form