public abstract class StringArg extends Object implements Arg
Constructor and Description |
---|
StringArg() |
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.
|
static Iterable<Arg> |
from(Iterable<String> args) |
static Iterable<Arg> |
from(String... args) |
abstract String |
getArg() |
static StringArg |
of(String arg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, flattenToSpaceSeparatedString, hashCode, singleCommandLineArg, stringify, stringify, stringify, stringifyList, toString
public abstract String getArg()
public void appendToCommandLine(java.util.function.Consumer<String> consumer, SourcePathResolverAdapter pathResolver)
Arg
appendToCommandLine
in interface Arg