donaldp 02/01/04 19:02:11
Modified: proposal/myrmidon/src/java/org/apache/myrmidon/api
TaskContext.java
Log:
Add a new method "resolveValue" to TaskContext that resolves values according
to ant rules and using that particular context.
Revision Changes Path
1.13 +12 -0
jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/api/TaskContext.java
Index: TaskContext.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/api/TaskContext.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- TaskContext.java 30 Dec 2001 06:13:33 -0000 1.12
+++ TaskContext.java 5 Jan 2002 03:02:11 -0000 1.13
@@ -61,6 +61,18 @@
throws TaskException;
/**
+ * Resolve a value according to the context.
+ * This involves evaluating the string and thus removing
+ * ${} sequences according to the rules specified at
+ * ............
+ *
+ * @param value the value to resolve
+ * @return the resolved value
+ */
+ Object resolveValue( String value )
+ throws TaskException;
+
+ /**
* Retrieve property for name.
*
* @param name the name of property
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>