Arguments supported by third party code should not conflict with Ant core ones. It is then recommended to chose specific 'enough' argument name, avoiding for instance one letter arguments. By the way, if there any conflict, Ant will take precedence.
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: booleanList<String> args)If some arguments matched with |
public boolean | Returns: booleanProject project, List<String> List<String> arg)Handle the arguments with |
public void | prepareConfigure(Project
Project project, List<String> List<String> args)If some arguments matched with |
public void | |
public int | Returns: intString[] args, int int pos)Read the arguments from the command line at the specified position If the argument is not supported, returns -1. |
handleArg | back to summary |
---|---|
public boolean handleArg(List<String> args) If some arguments matched with |
handleArg | back to summary |
---|---|
public boolean handleArg(Project project, List<String> arg) Handle the arguments with |
prepareConfigure | back to summary |
---|---|
public void prepareConfigure(Project project, List<String> args) If some arguments matched with |
printUsage | back to summary |
---|---|
public void printUsage(PrintStream writer) Print the usage of the supported arguments
|
readArguments | back to summary |
---|---|
public int readArguments(String[] args, int pos) Read the arguments from the command line at the specified position If the argument is not supported, returns -1. Else, the position of the first argument not supported.
|