public interface BuildEngineAction
BuildEngine
can build. Eventually, this will become the Action
interface itself. However, we keep this one around for compatibility between existing BuildRules and the new Actions.| Modifier and Type | Method and Description |
|---|---|
BuildTarget |
getBuildTarget() |
com.google.common.collect.ImmutableSet<BuildTarget> |
getDependencies() |
com.google.common.collect.ImmutableSet<SourcePath> |
getSourcePathOutputs() |
boolean |
isCacheable()
Whether this
BuildEngineAction can be cached. |
default boolean |
shouldRespectInputSizeLimitForRemoteExecution() |
BuildTarget getBuildTarget()
BuildTarget of the rule corresponding to this actioncom.google.common.collect.ImmutableSet<BuildTarget> getDependencies()
BuildEngineAction to build, as
identified by the BuildTarget.com.google.common.collect.ImmutableSet<SourcePath> getSourcePathOutputs()
BuildEngineAction builds. This is here for legacy as
BuildRules deal with SourcePathboolean isCacheable()
BuildEngineAction can be cached.
Uncached build rules are never written out to cache, never read from cache, and does not count in cache statistics. This rule is useful for artifacts which cannot be easily normalized.
default boolean shouldRespectInputSizeLimitForRemoteExecution()