public final class JkFileSystemDependency extends java.lang.Object implements JkFileDependency
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<java.nio.file.Path> |
getFiles() |
java.nio.file.Path |
getIdeProjectDir()
In the IDE, a dependency can be provided by a project exporting it.
|
int |
hashCode() |
JkFileSystemDependency |
minusFile(java.nio.file.Path file) |
static JkFileSystemDependency |
of(java.lang.Iterable<java.nio.file.Path> files)
Creates a
JkFileSystemDependency on the specified files. |
java.lang.String |
toString() |
JkFileSystemDependency |
withIdeProjectDir(java.nio.file.Path path)
Returns a dependency identical to this one but with the specified project base dir.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isCoordinate, matches, of, of
public static JkFileSystemDependency of(java.lang.Iterable<java.nio.file.Path> files)
JkFileSystemDependency
on the specified files.public final java.util.List<java.nio.file.Path> getFiles()
getFiles
in interface JkFileDependency
public JkFileSystemDependency minusFile(java.nio.file.Path file)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.nio.file.Path getIdeProjectDir()
JkDependency
null
when the dependency is not coming from another project.getIdeProjectDir
in interface JkDependency
public JkFileSystemDependency withIdeProjectDir(java.nio.file.Path path)
JkDependency
withIdeProjectDir
in interface JkDependency
JkDependency.getIdeProjectDir()