public abstract class ResolvePathsRequest<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAdditionalModules() |
Path |
getJdkHome() |
Path |
getMainModuleDescriptor() |
Collection<T> |
getPathElements() |
ResolvePathsRequest<T> |
setAdditionalModules(Collection<String> additionalModules) |
ResolvePathsRequest<T> |
setJdkHome(T jdkHome)
In case the JRE is Java 8 or before, this jdkHome is used to extract the module name.
|
ResolvePathsRequest<T> |
setMainModuleDescriptor(T mainModuleDescriptor)
Must be either
module-info.java or module-info.class |
protected abstract Path |
toPath(T t) |
static ResolvePathsRequest<File> |
withFiles(Collection<File> files) |
static ResolvePathsRequest<Path> |
withPaths(Collection<Path> paths) |
static ResolvePathsRequest<String> |
withStrings(Collection<String> strings) |
public static ResolvePathsRequest<File> withFiles(Collection<File> files)
public static ResolvePathsRequest<Path> withPaths(Collection<Path> paths)
public static ResolvePathsRequest<String> withStrings(Collection<String> strings)
public Path getMainModuleDescriptor()
public ResolvePathsRequest<T> setMainModuleDescriptor(T mainModuleDescriptor)
module-info.java or module-info.classmainModuleDescriptor - public Collection<T> getPathElements()
public ResolvePathsRequest<T> setJdkHome(T jdkHome)
jdkHome - public Path getJdkHome()
public ResolvePathsRequest<T> setAdditionalModules(Collection<String> additionalModules)
public Collection<String> getAdditionalModules()
Copyright © 2001–2018 Codehaus Plexus. All rights reserved.