org.wymiwyg.commons.timelogger
Class SectionTimeLogger

java.lang.Object
  extended by org.wymiwyg.commons.timelogger.TimeLogger
      extended by org.wymiwyg.commons.timelogger.SectionTimeLogger
All Implemented Interfaces:
Section

public class SectionTimeLogger
extends TimeLogger
implements Section

Author:
reto A TimeLogger for a section, i.e. a timelogger with a duration and an arbitrary number of sub-sections

Method Summary
 Object getIdentifier()
           
 long getTimeElapsedInMillis()
           
 long getTimeElapsedInNanos()
           
 List<Section> subSections()
           
 
Methods inherited from class org.wymiwyg.commons.timelogger.TimeLogger
endSection, getCurrentSectionTimeLogger, getReportWriter, getSections, setReportWriter, startSection, writeReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTimeElapsedInMillis

public long getTimeElapsedInMillis()
Specified by:
getTimeElapsedInMillis in interface Section

getIdentifier

public Object getIdentifier()
Specified by:
getIdentifier in interface Section
Returns:
an identifier witha toString implementation returning a description of the section

subSections

public List<Section> subSections()
Specified by:
subSections in interface Section
Returns:

getTimeElapsedInNanos

public long getTimeElapsedInNanos()
Specified by:
getTimeElapsedInNanos in interface Section
Returns:


Copyright © 2011. All Rights Reserved.