Groovy Documentation

org.grails.plugin.vaadin.utils
[Groovy] Class Stopwatch

java.lang.Object
  org.grails.plugin.vaadin.utils.Stopwatch

class Stopwatch

Simple class for recording time taken.

Authors:
Francis McKenzie


Property Summary
String caption

static def log

Class source

long startTime

 
Constructor Summary
Stopwatch(String caption, Object source = null)

 
Method Summary
static boolean isEnabled()

String stop()

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

caption

String caption


log

static def log


source

Class source


startTime

long startTime


 
Constructor Detail

Stopwatch

Stopwatch(String caption, Object source = null)


 
Method Detail

isEnabled

static boolean isEnabled()


stop

String stop()


toString

String toString()


 

Groovy Documentation