public class ArgumentProcessorRegistry extends Object
ArgumentProcessor
s.
An ArgumentProcessor
implementation can be registered via the system
property org.apache.tools.ant.ArgumentProcessor
, or via a JDK1.3
'service', by putting the fully qualified name of the implementation into the
file META-INF/services/org.apache.tools.ant.ArgumentProcessor
Use the system property ant.argument-processor.debug
to enable
the print of debug log.
Modifier and Type | Method and Description |
---|---|
static ArgumentProcessorRegistry |
getInstance() |
List<ArgumentProcessor> |
getProcessors() |
void |
registerArgumentProcessor(ArgumentProcessor processor) |
void |
registerArgumentProcessor(Class<? extends ArgumentProcessor> helperClass) |
void |
registerArgumentProcessor(String helperClassName) |
public static ArgumentProcessorRegistry getInstance()
public List<ArgumentProcessor> getProcessors()
public void registerArgumentProcessor(ArgumentProcessor processor)
public void registerArgumentProcessor(Class<? extends ArgumentProcessor> helperClass) throws BuildException
BuildException
public void registerArgumentProcessor(String helperClassName) throws BuildException
BuildException