public class ArgumentBuilder extends Object
Constructor and Description |
---|
ArgumentBuilder(StringToStringMap values) |
Modifier and Type | Method and Description |
---|---|
ArgumentBuilder |
addArgs(String... args) |
boolean |
addBoolean(String name,
String arg) |
boolean |
addBoolean(String name,
String arg,
String trueValue,
String falseValue) |
boolean |
addString(String name,
String arg) |
boolean |
addString(String name,
String arg,
String separator) |
boolean |
addStrings(String name,
String arg,
String sep) |
boolean |
addStringShadow(String name,
String arg) |
boolean |
addStringShadow(String name,
String arg,
String separator)
Just remember how argument starts, assumes that value can change.
|
List<String> |
getArgs() |
String[] |
getStringArgs() |
ArgumentBuilder |
startScript(String script) |
ArgumentBuilder |
startScript(String script,
String windowsExt,
String unixExt) |
String |
toString()
Arguments that are added
|
public ArgumentBuilder(StringToStringMap values)
public ArgumentBuilder addArgs(String... args)
public ArgumentBuilder startScript(String script)
public boolean addStringShadow(String name, String arg, String separator)
public ArgumentBuilder startScript(String script, String windowsExt, String unixExt)
public String[] getStringArgs()
Copyright © 2019. All Rights Reserved.