public class BuildInfo extends Object
BuildInfoRecorder
and OnDiskBuildInfo
.Modifier and Type | Class and Description |
---|---|
static class |
BuildInfo.MetadataKey |
Modifier and Type | Field and Description |
---|---|
static String |
MANIFEST
Key for
OnDiskBuildInfo to store the manifest for build rules supporting manifest-based
caching. |
static com.google.common.collect.ImmutableSet<String> |
METADATA_KEYS |
static com.google.common.collect.ImmutableSet<String> |
RULE_KEY_NAMES
All keys corresponding to rule keys.
|
Modifier and Type | Method and Description |
---|---|
static Path |
getPathToArtifactMetadataDirectory(BuildTarget target,
ProjectFilesystem filesystem) |
static Path |
getPathToArtifactMetadataFile(BuildTarget target,
ProjectFilesystem filesystem) |
static Path |
getPathToMetadataDirectory(BuildTarget target,
ProjectFilesystem filesystem)
Returns the path to a directory where metadata files for a build rule with the specified target
should be stored.
|
static Path |
getPathToOtherMetadataDirectory(BuildTarget target,
ProjectFilesystem filesystem) |
static boolean |
isArtifactMetadata(String key)
Whether this is a key that represents data to be stored as
BuildInfo.MetadataKey.ARTIFACT_METADATA . |
public static final com.google.common.collect.ImmutableSet<String> METADATA_KEYS
public static final com.google.common.collect.ImmutableSet<String> RULE_KEY_NAMES
public static final String MANIFEST
OnDiskBuildInfo
to store the manifest for build rules supporting manifest-based
caching.public static Path getPathToMetadataDirectory(BuildTarget target, ProjectFilesystem filesystem)
public static Path getPathToArtifactMetadataDirectory(BuildTarget target, ProjectFilesystem filesystem)
public static Path getPathToArtifactMetadataFile(BuildTarget target, ProjectFilesystem filesystem)
public static Path getPathToOtherMetadataDirectory(BuildTarget target, ProjectFilesystem filesystem)
public static boolean isArtifactMetadata(String key)
BuildInfo.MetadataKey.ARTIFACT_METADATA
.