public abstract class AppleBundleResources extends Object implements AddsToRuleKey
Modifier and Type | Class and Description |
---|---|
static class |
AppleBundleResources.Builder |
Constructor and Description |
---|
AppleBundleResources() |
Modifier and Type | Method and Description |
---|---|
static AppleBundleResources.Builder |
builder() |
Iterable<SourcePath> |
getAll()
Returns all the SourcePaths from the different types of resources.
|
SortedSet<AppleBundleDestination> |
getAllDestinations()
All kinds of destinations that are used by paths in this object.
|
abstract com.google.common.collect.ImmutableSet<SourcePathWithAppleBundleDestination> |
getDirsContainingResourceDirs()
Directories whose contents should be copied into the root of the resources subdirectory.
|
abstract com.google.common.collect.ImmutableSet<SourcePathWithAppleBundleDestination> |
getResourceDirs()
Directories that should be copied into the bundle as directories of files with the same name.
|
Set<SourcePath> |
getResourceDirsForDestination(AppleBundleDestination destination) |
abstract com.google.common.collect.ImmutableSet<SourcePathWithAppleBundleDestination> |
getResourceFiles()
Files that are copied to the root of the resources subdirectory.
|
Set<SourcePath> |
getResourceFilesForDestination(AppleBundleDestination destination) |
abstract com.google.common.collect.ImmutableSet<SourcePath> |
getResourceVariantFiles()
Resource files with localization variants.
|
public abstract com.google.common.collect.ImmutableSet<SourcePathWithAppleBundleDestination> getResourceDirs()
public abstract com.google.common.collect.ImmutableSet<SourcePathWithAppleBundleDestination> getDirsContainingResourceDirs()
This is useful when the directory contents are not known beforehand, such as when a rule generates a directory of files.
public abstract com.google.common.collect.ImmutableSet<SourcePathWithAppleBundleDestination> getResourceFiles()
public abstract com.google.common.collect.ImmutableSet<SourcePath> getResourceVariantFiles()
public Set<SourcePath> getResourceDirsForDestination(AppleBundleDestination destination)
public Set<SourcePath> getResourceFilesForDestination(AppleBundleDestination destination)
public SortedSet<AppleBundleDestination> getAllDestinations()
public Iterable<SourcePath> getAll()
public static AppleBundleResources.Builder builder()