public abstract class ResolvePathsRequest<T> extends Object
Modifier and Type | Method and Description |
---|---|
java.nio.file.Path |
getJdkHome() |
java.nio.file.Path |
getMainModuleDescriptor() |
Collection<T> |
getPathElements() |
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 java.nio.file.Path |
toPath(T t) |
static ResolvePathsRequest<File> |
withFiles(Collection<File> files) |
static ResolvePathsRequest<java.nio.file.Path> |
withPaths(Collection<java.nio.file.Path> paths) |
static ResolvePathsRequest<String> |
withStrings(Collection<String> strings) |
public static ResolvePathsRequest<File> withFiles(Collection<File> files)
public static ResolvePathsRequest<java.nio.file.Path> withPaths(Collection<java.nio.file.Path> paths)
public static ResolvePathsRequest<String> withStrings(Collection<String> strings)
protected abstract java.nio.file.Path toPath(T t)
public java.nio.file.Path getMainModuleDescriptor()
public ResolvePathsRequest<T> setMainModuleDescriptor(T mainModuleDescriptor)
module-info.java
or module-info.class
mainModuleDescriptor
- public Collection<T> getPathElements()
public ResolvePathsRequest<T> setJdkHome(T jdkHome)
jdkHome
- public java.nio.file.Path getJdkHome()
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.