public interface LaunchFilter
An implementor of this interface can be attached to a "launch" task by setting the following "launch" task attributes in the Launcher's XML file:
filterclassname
- The name of the class that implements
this interface
filterclasspath
- (Optional) The classpath for the class
that implements
Modifier and Type | Method and Description |
---|---|
void |
filter(LaunchCommand launchCommand)
Perform error checking and editing of the JVM command line arguments
that an instance of the
LaunchTask class has constructed. |
void filter(LaunchCommand launchCommand) throws org.apache.tools.ant.BuildException
LaunchTask
class has constructed.
Implementors will receive an instance of the LaunchCommand
from
the LaunchTask
instance that invokes this method. The
implementor of this method can then retrieve and edit any of the
JVM command line arguments via the LaunchCommand
class' public
methods.launchCommand
- a configured LaunchCommand
instanceorg.apache.tools.ant.BuildException
- if any errors occurCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.