Package com.facebook.buck.rules.keys
Class DependencyFileEntry
- java.lang.Object
-
- com.facebook.buck.rules.keys.DependencyFileEntry
-
public abstract class DependencyFileEntry extends Object
-
-
Constructor Summary
Constructors Constructor Description DependencyFileEntry()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
check()
static DependencyFileEntry
fromSourcePath(SourcePath sourcePath, SourcePathResolverAdapter resolver)
static Path
getPathToFile(SourcePathResolverAdapter resolver, SourcePath sourcePath)
Gets the path to the file.static DependencyFileEntry
of(Path pathToFile)
static DependencyFileEntry
of(Path pathToFile, Optional<? extends Path> pathWithinArchive)
abstract Path
pathToFile()
abstract Optional<Path>
pathWithinArchive()
-
-
-
Method Detail
-
pathToFile
public abstract Path pathToFile()
-
check
@Check protected void check()
-
getPathToFile
public static Path getPathToFile(SourcePathResolverAdapter resolver, SourcePath sourcePath)
Gets the path to the file. This would be the value of DependencyFileEntry.pathToFile() if the SourcePath is converted to a DependencyFileEntry.
-
fromSourcePath
public static DependencyFileEntry fromSourcePath(SourcePath sourcePath, SourcePathResolverAdapter resolver)
-
of
public static DependencyFileEntry of(Path pathToFile, Optional<? extends Path> pathWithinArchive)
-
of
public static DependencyFileEntry of(Path pathToFile)
-
-