Package | Description |
---|---|
org.codehaus.plexus.languages.java.jpms |
Modifier and Type | Method | Description |
---|---|---|
static ResolvePathsRequest<File> |
ResolvePathsRequest.ofFiles(File... files) |
|
static ResolvePathsRequest<File> |
ResolvePathsRequest.ofFiles(Collection<File> files) |
|
static ResolvePathsRequest<Path> |
ResolvePathsRequest.ofPaths(Path... paths) |
|
static ResolvePathsRequest<Path> |
ResolvePathsRequest.ofPaths(Collection<Path> paths) |
|
static ResolvePathsRequest<String> |
ResolvePathsRequest.ofStrings(String... strings) |
|
static ResolvePathsRequest<String> |
ResolvePathsRequest.ofStrings(Collection<String> strings) |
|
ResolvePathsRequest<T> |
ResolvePathsRequest.setAdditionalModules(Collection<String> additionalModules) |
The module names that are usually passed with
--add-modules |
ResolvePathsRequest<T> |
ResolvePathsRequest.setIncludeAllProviders(boolean includeAllProviders) |
Will also include all modules that contain providers for used services, should only be used at runtime (not during compile nor test)
|
ResolvePathsRequest<T> |
ResolvePathsRequest.setJdkHome(T jdkHome) |
In case the JRE is Java 8 or before, this jdkHome is used to extract the module name.
|
ResolvePathsRequest<T> |
ResolvePathsRequest.setMainModuleDescriptor(T mainModuleDescriptor) |
Must be either
module-info.java or module-info.class |
static ResolvePathsRequest<File> |
ResolvePathsRequest.withFiles(Collection<File> files) |
Deprecated.
use
ofFiles(Collection) instead |
static ResolvePathsRequest<Path> |
ResolvePathsRequest.withPaths(Collection<Path> paths) |
Deprecated.
use
ofPaths(Collection) instead |
static ResolvePathsRequest<String> |
ResolvePathsRequest.withStrings(Collection<String> strings) |
Deprecated.
use
ofStrings(Collection) instead |
Modifier and Type | Method | Description |
---|---|---|
<T> ResolvePathsResult<T> |
LocationManager.resolvePaths(ResolvePathsRequest<T> request) |
Decide for every
request.getPathElements() if it belongs to the modulePath or classPath, based on the
request.getMainModuleDescriptor() . |
Copyright © 2001–2018 Codehaus Plexus. All rights reserved.