public class ResourcesExoHelper extends Object
Modifier and Type | Field and Description |
---|---|
static Path |
RESOURCES_DIR |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<Path,Path> |
getFilesToInstall() |
static com.google.common.collect.ImmutableMap<Path,Path> |
getFilesToInstall(com.google.common.collect.ImmutableMap<String,Path> filesByHash) |
com.google.common.collect.ImmutableMap<Path,String> |
getMetadataToInstall() |
static com.google.common.collect.ImmutableMap<String,Path> |
getResourceFilesByHash(SourcePathResolverAdapter pathResolver,
ProjectFilesystem projectFilesystem,
java.util.stream.Stream<ExopackagePathAndHash> resourcesPaths)
Returns a map of hash to path for resource files.
|
public static final Path RESOURCES_DIR
public static com.google.common.collect.ImmutableMap<Path,Path> getFilesToInstall(com.google.common.collect.ImmutableMap<String,Path> filesByHash)
public static com.google.common.collect.ImmutableMap<String,Path> getResourceFilesByHash(SourcePathResolverAdapter pathResolver, ProjectFilesystem projectFilesystem, java.util.stream.Stream<ExopackagePathAndHash> resourcesPaths)