lejos.pc.tools
Class CLIToolProgressMonitor

java.lang.Object
  extended by lejos.pc.tools.CLIToolProgressMonitor
All Implemented Interfaces:
ToolProgressMonitor

public class CLIToolProgressMonitor
extends java.lang.Object
implements ToolProgressMonitor

Simple implementation of ToolProgressMonitor with output to System.out.


Constructor Summary
CLIToolProgressMonitor()
           
 
Method Summary
 boolean isCanceled()
          Is tool canceled?.
 void log(java.lang.String message)
          Notification about some progress information.
 void operation(java.lang.String message)
          Notification change of operation.
 void progress(int progress)
          Notification about progress.
 void setVerbose(boolean verbose)
          Be verbose?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLIToolProgressMonitor

public CLIToolProgressMonitor()
Method Detail

operation

public void operation(java.lang.String message)
Description copied from interface: ToolProgressMonitor
Notification change of operation.

Specified by:
operation in interface ToolProgressMonitor
Parameters:
message - human readable description of current operation

log

public void log(java.lang.String message)
Description copied from interface: ToolProgressMonitor
Notification about some progress information.

Specified by:
log in interface ToolProgressMonitor
Parameters:
message - human readable message about progress

progress

public void progress(int progress)
Description copied from interface: ToolProgressMonitor
Notification about progress.

Specified by:
progress in interface ToolProgressMonitor
Parameters:
progress - progress (0-1000)

isCanceled

public boolean isCanceled()
Description copied from interface: ToolProgressMonitor
Is tool canceled?.

Specified by:
isCanceled in interface ToolProgressMonitor

setVerbose

public void setVerbose(boolean verbose)
Be verbose?

Specified by:
setVerbose in interface ToolProgressMonitor