| org.apache.tools.ant.module.bridge.BridgeInterface
All known Subclasses: org.apache.tools.ant.module.bridge.DummyBridgeImpl, org.apache.tools.ant.module.bridge.impl.BridgeImpl,
BridgeInterface | public interface BridgeInterface (Code) | | What is implemented by bridge.jar.
author: Jesse Glick |
Method Summary | |
String | getAntVersion() Get some informational value of the Ant version. | String[] | getEnumeratedValues(Class> c) Get values of an enumeration class. | IntrospectionHelperProxy | getIntrospectionHelper(Class> clazz) Get a proxy for IntrospectionHelper, to introspect task + type structure. | boolean | isAnt16() Check whether Ant 1.6 is loaded. | boolean | run(File buildFile, List<String> targets, InputStream in, OutputWriter out, OutputWriter err, Map<String, String> properties, int verbosity, String displayName, Runnable interestingOutputCallback, ProgressHandle handle) Actually run a build script. | void | stop(Thread process) Try to stop a running build. | boolean | toBoolean(String val) See Project.toBoolean. |
getAntVersion | String getAntVersion()(Code) | | Get some informational value of the Ant version.
the version |
getEnumeratedValues | String[] getEnumeratedValues(Class> c)(Code) | | Get values of an enumeration class.
If it is not actually an enumeration class, return null.
|
isAnt16 | boolean isAnt16()(Code) | | Check whether Ant 1.6 is loaded.
If so, additional abilities may be possible, such as namespace support.
|
run | boolean run(File buildFile, List<String> targets, InputStream in, OutputWriter out, OutputWriter err, Map<String, String> properties, int verbosity, String displayName, Runnable interestingOutputCallback, ProgressHandle handle)(Code) | | Actually run a build script.
Parameters: buildFile - an Ant build script Parameters: targets - a list of target names to run, or null to run the default target Parameters: in - an input stream for console input Parameters: out - an output stream with the ability to have hyperlinks Parameters: err - an error stream with the ability to have hyperlinks Parameters: properties - any Ant properties to define Parameters: verbosity - the intended logging level Parameters: displayName - a user-presentable name for the session Parameters: interestingOutputCallback - will be called if and when some interesting output appears, or input is requested Parameters: handle - a progress handle to update if appropriate (switch to sleeping and back to indeterminate) true if the build succeeded, false if it failed for any reason |
stop | void stop(Thread process)(Code) | | Try to stop a running build.
The implementation may wait for a while to stop at a safe point,
and/or stop forcibly.
Parameters: process - the thread which is currently running the build (in which BridgeInterface.run was invoked) |
toBoolean | boolean toBoolean(String val)(Code) | | See Project.toBoolean.
|
|
|