You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2002/07/02 09:26:49 UTC
cvs commit: jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/api TaskContext.java
donaldp 2002/07/02 00:26:49
Modified: api/src/java/org/apache/myrmidon/api TaskContext.java
Log:
Add a utility method to aquire QualifiedName of Task from context
Also moved the SEPARATOR constant to this class
Revision Changes Path
1.40 +15 -1 jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/api/TaskContext.java
Index: TaskContext.java
===================================================================
RCS file: /home/cvs/jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/api/TaskContext.java,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- TaskContext.java 25 Jun 2002 14:38:28 -0000 1.39
+++ TaskContext.java 2 Jul 2002 07:26:49 -0000 1.40
@@ -21,6 +21,11 @@
public interface TaskContext
{
/**
+ * Separator for elements in TaskEvents name/path.
+ */
+ char SEPARATOR = '/';
+
+ /**
* Retrieve Name of task.
*
* @return the name
@@ -36,6 +41,15 @@
* @return the Path to task
*/
String getPath();
+
+ /**
+ * Return the fully qualified name of task.
+ *
+ * @return the fully qualified name of task
+ * @see #getName
+ * @see #getPath
+ */
+ String getQualifiedName();
/**
* Retrieve the physical location of the task.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>