public abstract class DependencyFileEntry extends Object
Constructor and Description |
---|
DependencyFileEntry() |
Modifier and Type | Method and 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() |
public abstract Path pathToFile()
@Value.Check protected void check()
public static Path getPathToFile(SourcePathResolverAdapter resolver, SourcePath sourcePath)
public static DependencyFileEntry fromSourcePath(SourcePath sourcePath, SourcePathResolverAdapter resolver)
public static DependencyFileEntry of(Path pathToFile, Optional<? extends Path> pathWithinArchive)
public static DependencyFileEntry of(Path pathToFile)