ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/context TaskContextManager.java
Date Tue, 02 Jul 2002 07:35:33 GMT
donaldp     2002/07/02 00:35:33

  Modified:    container/src/java/org/apache/myrmidon/interfaces/context
                        TaskContextManager.java
  Log:
  Add ROLE constant.
  
  Allow you to pass in baseDirectory when creating partition context
  
  Revision  Changes    Path
  1.2       +8 -2      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/context/TaskContextManager.java
  
  Index: TaskContextManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/context/TaskContextManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TaskContextManager.java	21 Jun 2002 08:05:58 -0000	1.1
  +++ TaskContextManager.java	2 Jul 2002 07:35:33 -0000	1.2
  @@ -7,6 +7,7 @@
    */
   package org.apache.myrmidon.interfaces.context;
   
  +import java.io.File;
   import org.apache.myrmidon.api.TaskContext;
   import org.apache.myrmidon.api.TaskException;
   
  @@ -19,7 +20,12 @@
    */
   public interface TaskContextManager
   {
  -    TaskContext createPartitionContext( TaskContext context, String name, String location
)
  +    String ROLE = TaskContextManager.class.getName();
  +
  +    TaskContext createPartitionContext( TaskContext context,
  +                                        String name,
  +                                        String location,
  +                                        File baseDirectory )
           throws TaskException;
   
       TaskContext createContext( TaskContext context, String name, String location )
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message