org.wymiwyg.commons.timelogger
Class SectionTimeLogger
java.lang.Object
org.wymiwyg.commons.timelogger.TimeLogger
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.