public abstract class BuildResult extends Object
com.facebook.buck.core.build.engine.impl.CachingBuildEngine#buildOnceDepsAreBuilt()
can return a
strongly typed value.Modifier and Type | Class and Description |
---|---|
static class |
BuildResult.Builder |
Constructor and Description |
---|
BuildResult() |
Modifier and Type | Method and Description |
---|---|
static BuildResult.Builder |
builder() |
static BuildResult |
canceled(BuildRule rule,
Throwable failure) |
static BuildResult |
failure(BuildRule rule,
Throwable failure) |
abstract Optional<CacheResult> |
getCacheResult() |
abstract Optional<Set<String>> |
getDepsWithCacheMisses() |
Throwable |
getFailure() |
abstract Optional<Throwable> |
getFailureOptional() |
abstract BuildRule |
getRule() |
abstract BuildRuleStatus |
getStatus() |
abstract Optional<String> |
getStrategyResult() |
BuildRuleSuccessType |
getSuccess() |
abstract Optional<BuildRuleSuccessType> |
getSuccessOptional() |
boolean |
isSuccess() |
static BuildResult |
success(BuildRule rule,
BuildRuleSuccessType success,
CacheResult cacheResult) |
public abstract BuildRule getRule()
public abstract BuildRuleStatus getStatus()
public abstract Optional<CacheResult> getCacheResult()
public abstract Optional<BuildRuleSuccessType> getSuccessOptional()
public static BuildResult success(BuildRule rule, BuildRuleSuccessType success, CacheResult cacheResult)
public static BuildResult failure(BuildRule rule, Throwable failure)
public static BuildResult canceled(BuildRule rule, Throwable failure)
public BuildRuleSuccessType getSuccess()
public Throwable getFailure()
public boolean isSuccess()
public static BuildResult.Builder builder()