public class WriteToFileArg extends Object implements Arg
Constructor and Description |
---|
WriteToFileArg(BuildTarget target,
String prefix,
Arg delegate) |
Modifier and Type | Method and Description |
---|---|
void |
appendToCommandLine(java.util.function.Consumer<String> consumer,
SourcePathResolverAdapter pathResolver)
Feed the contents of the Arg to the supplied consumer.
|
protected String |
getContent(SourcePathResolverAdapter pathResolver)
Get the expanded content to write to the file.
|
static Path |
getMacroPath(ProjectFilesystem projectFilesystem,
BuildTarget buildTarget) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, flattenToSpaceSeparatedString, hashCode, singleCommandLineArg, stringify, stringify, stringify, stringifyList, toString
public WriteToFileArg(BuildTarget target, String prefix, Arg delegate)
public static Path getMacroPath(ProjectFilesystem projectFilesystem, BuildTarget buildTarget)
public void appendToCommandLine(java.util.function.Consumer<String> consumer, SourcePathResolverAdapter pathResolver)
Arg
appendToCommandLine
in interface Arg
protected String getContent(SourcePathResolverAdapter pathResolver)