public class WorkerMacroArg extends ProxyArg
WorkerTool
.Modifier and Type | Method and Description |
---|---|
static WorkerMacroArg |
fromStringWithMacros(Arg arg,
BuildTarget target,
BuildRuleResolver resolver,
StringWithMacros unexpanded) |
com.google.common.collect.ImmutableMap<String,String> |
getEnvironment() |
String |
getJobArgs(SourcePathResolverAdapter pathResolver) |
int |
getMaxWorkers() |
Optional<String> |
getPersistentWorkerKey() |
com.google.common.collect.ImmutableList<String> |
getStartupCommand() |
Path |
getTempDir() |
com.google.common.hash.HashCode |
getWorkerHash() |
boolean |
isAsync() |
appendToCommandLine, equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flattenToSpaceSeparatedString, singleCommandLineArg, stringify, stringify, stringify, stringifyList
public static WorkerMacroArg fromStringWithMacros(Arg arg, BuildTarget target, BuildRuleResolver resolver, StringWithMacros unexpanded)
WorkerMacroArg
which wraps the given StringWithMacros
.public com.google.common.collect.ImmutableList<String> getStartupCommand()
public Path getTempDir()
public com.google.common.hash.HashCode getWorkerHash()
public int getMaxWorkers()
public boolean isAsync()
public String getJobArgs(SourcePathResolverAdapter pathResolver)