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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to