public interface RemoteExecutionHelper
ModernBuildRule
.
The created RemoteExecutionActionInfo
contains all the information necessary for
running the rule remotely.
Modifier and Type | Method and Description |
---|---|
Path |
getCellPathPrefix()
The cell path prefix is the path that all remote execution related paths will be relative to.
|
RemoteExecutionActionInfo |
prepareRemoteExecution(ModernBuildRule<?> rule,
java.util.function.BiPredicate<Protocol.Digest,String> requiredDataPredicate,
com.facebook.buck.remoteexecution.proto.WorkerRequirements workerRequirements)
Gets all the information needed to run the rule via Remote Execution (inputs merkle tree,
action and digest, outputs).
|
boolean |
supportsRemoteExecution(ModernBuildRule<?> instance)
Returns whether remote execution is supported by this rule.
|
boolean supportsRemoteExecution(ModernBuildRule<?> instance)
RemoteExecutionActionInfo prepareRemoteExecution(ModernBuildRule<?> rule, java.util.function.BiPredicate<Protocol.Digest,String> requiredDataPredicate, com.facebook.buck.remoteexecution.proto.WorkerRequirements workerRequirements) throws IOException
IOException
Path getCellPathPrefix()