Class ResolvePathRequest<T>
- java.lang.Object
-
- org.codehaus.plexus.languages.java.jpms.ResolvePathRequest<T>
-
public abstract class ResolvePathRequest<T> extends Object
- Since:
- 1.0.0
- Author:
- Robert Scholte
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Path
getJdkHome()
T
getPathElement()
static ResolvePathRequest<File>
ofFile(File file)
static ResolvePathRequest<Path>
ofPath(Path path)
static ResolvePathRequest<String>
ofString(String string)
ResolvePathRequest<T>
setJdkHome(T jdkHome)
In case the JRE is Java 8 or before, this jdkHome is used to extract the module name.protected abstract Path
toPath(T t)
-
-
-
Method Detail
-
ofFile
public static ResolvePathRequest<File> ofFile(File file)
-
ofPath
public static ResolvePathRequest<Path> ofPath(Path path)
-
ofString
public static ResolvePathRequest<String> ofString(String string)
-
getPathElement
public T getPathElement()
-
setJdkHome
public ResolvePathRequest<T> setJdkHome(T jdkHome)
In case the JRE is Java 8 or before, this jdkHome is used to extract the module name.- Parameters:
jdkHome
-- Returns:
- this request
-
getJdkHome
public Path getJdkHome()
-
-