org.apache.shale.examples.test.tiger
Class Recorder

java.lang.Object
  extended by org.apache.shale.examples.test.tiger.Recorder

public class Recorder
extends Object

Simple bean to record and play back event messages.


Constructor Summary
Recorder()
           
 
Method Summary
 void clear()
          Clear all previously recorded events.
 String getEvents()
          Return the complete set of events that has occurred since we were last erased.
 boolean isClear()
          Dummy getter to force clearing when called.
 void record(String event)
          Record the specified event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Recorder

public Recorder()
Method Detail

isClear

public boolean isClear()

Dummy getter to force clearing when called.


getEvents

public String getEvents()

Return the complete set of events that has occurred since we were last erased.


clear

public void clear()

Clear all previously recorded events.


record

public void record(String event)

Record the specified event.

Parameters:
event - Event to be recorded


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.