public class JkLocalProjectDependency extends JkComputedDependency implements JkFileDependency.JkTransitivityDependency
JkFileDependency.JkTransitivityDependencyfiles, runnable| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
JkDependencySet |
getExportedDependencies()
Returns the dependencies that will be consumed by the depender.
|
JkTransitivity |
getTransitivity() |
int |
hashCode() |
static JkLocalProjectDependency |
of(java.lang.Runnable producer,
java.nio.file.Path file,
java.nio.file.Path basedir,
JkDependencySet dependencies)
Constructs a
JkLocalProjectDependency from an artifact producer and the artifact file id
one is interested on. |
java.lang.String |
toString() |
JkLocalProjectDependency |
withIdeProjectDir(java.nio.file.Path path)
Returns a dependency identical to this one but with the specified project base dir.
|
JkLocalProjectDependency |
withoutExportedDependencies() |
JkLocalProjectDependency |
withTransitivity(JkTransitivity transitivity) |
getFiles, getIdeProjectDir, getMissingFilesOrEmptyDirs, hasMissingFilesOrEmptyDirs, of, of, of, ofclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdeProjectDir, matchespublic static JkLocalProjectDependency of(java.lang.Runnable producer, java.nio.file.Path file, java.nio.file.Path basedir, JkDependencySet dependencies)
JkLocalProjectDependency from an artifact producer and the artifact file id
one is interested on.producer - The runnable producing the jar file.file - The jar filebasedir - The base directory of the project producing the jar file. Optional (IDE support)dependencies - The dependencies that will be consumed by the depender. It's not the
the dependencies needed to compile the jar but the ones that would be
published.public JkDependencySet getExportedDependencies()
public JkTransitivity getTransitivity()
getTransitivity in interface JkFileDependency.JkTransitivityDependencypublic JkLocalProjectDependency withIdeProjectDir(java.nio.file.Path path)
JkDependencywithIdeProjectDir in interface JkDependencywithIdeProjectDir in class JkComputedDependencyJkDependency.getIdeProjectDir()public JkLocalProjectDependency withTransitivity(JkTransitivity transitivity)
public JkLocalProjectDependency withoutExportedDependencies()
public java.lang.String toString()
toString in class JkComputedDependencypublic boolean equals(java.lang.Object o)
equals in class JkComputedDependencypublic int hashCode()
hashCode in class JkComputedDependency