net.grinder.console.textui
Class TextUI

java.lang.Object
  extended by net.grinder.console.textui.TextUI
All Implemented Interfaces:
ConsoleFoundation.UI

public class TextUI
extends Object
implements ConsoleFoundation.UI

Simple "read only" text interface that reports on console events.

This is an alternative to the graphical UI. Features that are complementary to any UI (e.g. statistic logging) should be implemented elsewhere.

Author:
Philip Aston

Constructor Summary
TextUI(Resources resources, ProcessControl processControl, SampleModel sampleModel, org.slf4j.Logger logger)
          Constructor.
 
Method Summary
 ErrorHandler getErrorHandler()
          Return our error handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextUI

public TextUI(Resources resources,
              ProcessControl processControl,
              SampleModel sampleModel,
              org.slf4j.Logger logger)
Constructor.

Parameters:
resources - Console resources.
processControl - Console process control.
sampleModel - Console sample model.
logger - Logger.
Method Detail

getErrorHandler

public ErrorHandler getErrorHandler()
Return our error handler.

Specified by:
getErrorHandler in interface ConsoleFoundation.UI
Returns:
The error handler.


Copyright © 2000-2013. All Rights Reserved.