etm.contrib.console.util
Class CollapsedResultRenderer

java.lang.Object
  extended by etm.contrib.console.util.ConsoleRenderer
      extended by etm.contrib.console.util.CollapsedResultRenderer
All Implemented Interfaces:
MeasurementRenderer

public class CollapsedResultRenderer
extends ConsoleRenderer

Renders a collapsed view with links to detailed results.

Version:
$Revision: 174 $
Author:
void.fm

Nested Class Summary
 
Nested classes/interfaces inherited from class etm.contrib.console.util.ConsoleRenderer
ConsoleRenderer.SortedExecutionGraph
 
Field Summary
 
Fields inherited from class etm.contrib.console.util.ConsoleRenderer
comparator, FOOTER, NO_RESULTS, numberFormatter, request, response, timeFormatter
 
Constructor Summary
CollapsedResultRenderer(ConsoleRequest aRequest, ConsoleResponse aResponse, ExecutionAggregateComparator aComparator)
          Constructs a CollapsedResultRenderer that writes results to the given response.
 
Method Summary
 void render(java.util.Map points)
          Renders the results.
 
Methods inherited from class etm.contrib.console.util.ConsoleRenderer
writeAverage, writeAverage, writeCommonHtmlHead, writeDetailHtmlHead, writeHtmlHead, writeMax, writeMax, writeMeasurements, writeMeasurements, writeMin, writeMin, writeName, writeName, writeTableHeader, writeTotals, writeTotals
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollapsedResultRenderer

public CollapsedResultRenderer(ConsoleRequest aRequest,
                               ConsoleResponse aResponse,
                               ExecutionAggregateComparator aComparator)
Constructs a CollapsedResultRenderer that writes results to the given response.

Parameters:
aRequest - The current request
aResponse - The current respone
aComparator - A comparator used for sorting results
Method Detail

render

public void render(java.util.Map points)
Description copied from interface: MeasurementRenderer
Renders the results. The map contains current aggregate state. Keys are the names of the root EtmPoint, values are instances of Aggregate

Parameters:
points - All available results in no particular order.


Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.