public enum BuildRuleSuccessType extends Enum<BuildRuleSuccessType>
BuildEngine.build(BuildEngineBuildContext,
ExecutionContext, BuildRule)
, demonstrating that the associated BuildRule
was built
successfully.Enum Constant and Description |
---|
BUILT_LOCALLY
Built by executing the
Step s for the rule. |
FETCHED_FROM_CACHE
Fetched via the
ArtifactCache . |
FETCHED_FROM_CACHE_INPUT_BASED
Fetched via the
ArtifactCache using an input-based
rule key. |
FETCHED_FROM_CACHE_MANIFEST_BASED
Fetched via the
ArtifactCache using an input-based
rule key. |
MATCHING_DEP_FILE_RULE_KEY
Computed dep-file
RuleKey matches the one on disk |
MATCHING_INPUT_BASED_RULE_KEY
Computed input-based
RuleKey matches the one on disk. |
MATCHING_RULE_KEY
Computed
RuleKey matches the one on disk. |
Modifier and Type | Method and Description |
---|---|
String |
getShortDescription() |
boolean |
outputsHaveChanged() |
boolean |
shouldClearAndOverwriteMetadataOnDisk() |
boolean |
shouldUploadResultingArtifact() |
boolean |
shouldWriteRecordedMetadataToDiskAfterBuilding() |
static BuildRuleSuccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildRuleSuccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildRuleSuccessType BUILT_LOCALLY
Step
s for the rule.public static final BuildRuleSuccessType FETCHED_FROM_CACHE
ArtifactCache
.public static final BuildRuleSuccessType FETCHED_FROM_CACHE_INPUT_BASED
ArtifactCache
using an input-based
rule key.public static final BuildRuleSuccessType FETCHED_FROM_CACHE_MANIFEST_BASED
ArtifactCache
using an input-based
rule key.public static final BuildRuleSuccessType MATCHING_RULE_KEY
RuleKey
matches the one on disk.public static final BuildRuleSuccessType MATCHING_INPUT_BASED_RULE_KEY
RuleKey
matches the one on disk.public static final BuildRuleSuccessType MATCHING_DEP_FILE_RULE_KEY
RuleKey
matches the one on diskpublic static BuildRuleSuccessType[] values()
for (BuildRuleSuccessType c : BuildRuleSuccessType.values()) System.out.println(c);
public static BuildRuleSuccessType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean shouldWriteRecordedMetadataToDiskAfterBuilding()
public boolean shouldClearAndOverwriteMetadataOnDisk()
public boolean shouldUploadResultingArtifact()
public boolean outputsHaveChanged()
public String getShortDescription()