public abstract class ResourcesParameters extends Object implements AddsToRuleKey
Constructor and Description |
---|
ResourcesParameters() |
Modifier and Type | Method and Description |
---|---|
static ResourcesParameters |
create(ProjectFilesystem projectFilesystem,
SourcePathRuleFinder ruleFinder,
com.google.common.collect.ImmutableCollection<SourcePath> resources,
Optional<Path> resourcesRoot) |
static com.google.common.collect.ImmutableSortedMap<String,SourcePath> |
getNamedResources(SourcePathRuleFinder ruleFinder,
ProjectFilesystem filesystem,
com.google.common.collect.ImmutableCollection<SourcePath> resources) |
com.google.common.collect.ImmutableSortedMap<String,SourcePath> |
getResources() |
abstract Optional<String> |
getResourcesRoot() |
static ResourcesParameters |
of() |
static ResourcesParameters |
of(com.google.common.collect.ImmutableSortedMap<String,SourcePath> resources,
Optional<String> resourcesRoot) |
@Value.Default public com.google.common.collect.ImmutableSortedMap<String,SourcePath> getResources()
public static ResourcesParameters of()
public static ResourcesParameters of(com.google.common.collect.ImmutableSortedMap<String,SourcePath> resources, Optional<String> resourcesRoot)
public static ResourcesParameters create(ProjectFilesystem projectFilesystem, SourcePathRuleFinder ruleFinder, com.google.common.collect.ImmutableCollection<SourcePath> resources, Optional<Path> resourcesRoot)
public static com.google.common.collect.ImmutableSortedMap<String,SourcePath> getNamedResources(SourcePathRuleFinder ruleFinder, ProjectFilesystem filesystem, com.google.common.collect.ImmutableCollection<SourcePath> resources)