You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gr...@locus.apache.org on 2000/12/09 02:11:31 UTC

cvs commit: xml-cocoon/src/org/apache/cocoon Profiler.java

greenrd     00/12/08 17:11:30

  Modified:    src/org/apache/cocoon Profiler.java
  Log:
  status message
  
  Revision  Changes    Path
  1.2       +9 -4      xml-cocoon/src/org/apache/cocoon/Profiler.java
  
  Index: Profiler.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Profiler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Profiler.java	2000/09/16 16:04:30	1.1
  +++ Profiler.java	2000/12/09 01:11:30	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: Profiler.java,v 1.1 2000/09/16 16:04:30 greenrd Exp $ --
  +/*-- $Id: Profiler.java,v 1.2 2000/12/09 01:11:30 greenrd Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -53,6 +53,7 @@
   
   import org.apache.cocoon.framework.Actor;
   import org.apache.cocoon.framework.Director;
  +import org.apache.cocoon.framework.Status;
   import org.apache.cocoon.logger.Logger;
   import org.apache.tools.DOMWriter;
   import org.w3c.dom.Document;
  @@ -71,9 +72,9 @@
    * end of each process. Use getProfileTable to get the results as a DOM.
    *
    * @author <a href="mailto:greenrd@hotmail.com">Robin Green</a>
  - * @version $Revision: 1.1 $ $Date: 2000/09/16 16:04:30 $
  + * @version $Revision: 1.2 $ $Date: 2000/12/09 01:11:30 $
    */
  -public class Profiler implements Actor {
  +public class Profiler implements Actor, Status {
   
     public static final DateFormat DATE_FORMAT =
       DateFormat.getDateTimeInstance ();
  @@ -207,4 +208,8 @@
       }
   
     }
  -}
  \ No newline at end of file
  +
  +  public String getStatus () {
  +    return "Cocoon Performance Profiler";
  +  }
  +}