org.apache.tools.antClass ArgumentProcessorRegistry
- java.lang.Object
- org.apache.tools.ant.ArgumentProcessorRegistry
public class ArgumentProcessorRegistry extends java.lang.Object
The global registry forArgumentProcessor
s.An
ArgumentProcessor
implementation can be registered via the system propertyorg.apache.tools.ant.ArgumentProcessor
, or via a JDK1.3 'service', by putting the fully qualified name of the implementation into the fileMETA-INF/services/org.apache.tools.ant.ArgumentProcessor
Use the system property
ant.argument-processor.debug
to enable the print of debug log.
- Since:
- 1.9
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static ArgumentProcessorRegistry
getInstance()
java.util.List<ArgumentProcessor>
getProcessors()
void
registerArgumentProcessor(ArgumentProcessor processor)
void
registerArgumentProcessor(java.lang.Class<? extends ArgumentProcessor> helperClass)
void
registerArgumentProcessor(java.lang.String helperClassName)
Method Detail
getInstance
public static ArgumentProcessorRegistry getInstance()
getProcessors
public java.util.List<ArgumentProcessor> getProcessors()
registerArgumentProcessor
public void registerArgumentProcessor(java.lang.String helperClassName) throws BuildException
- Throws:
BuildException
registerArgumentProcessor
public void registerArgumentProcessor(java.lang.Class<? extends ArgumentProcessor> helperClass) throws BuildException
- Throws:
BuildException
registerArgumentProcessor
public void registerArgumentProcessor(ArgumentProcessor processor)