ncsa.tools.trebuchet.listeners
Class CopyProgressListener

java.lang.Object
  extended byncsa.tools.trebuchet.listeners.ProgressListener
      extended byncsa.tools.trebuchet.listeners.CopyProgressListener
All Implemented Interfaces:
ICacheAccessor, IOperationListener, IUpdateOperationListener
Direct Known Subclasses:
CopyOperationProgressListener, FileCopyProgressListener

public abstract class CopyProgressListener
extends ProgressListener
implements ICacheAccessor


Method Summary
 void cacheUpdated(java.lang.String operationId, long lastEntryId)
           
 void close()
           
 ProgressReport getReport()
           
 boolean isReportMode()
           
 void operationFinished(java.lang.String operationId)
           
 void operationStarted(java.lang.String operationId)
           
 void scanningDirectory(java.lang.String operationId, long id)
           
 void setCache(OperationCache cache)
           
 void setReport(ProgressReport report)
           
 
Methods inherited from class ncsa.tools.trebuchet.listeners.ProgressListener
isEventSupportMode, isLog4JMode, isStdOutMode, setEventSupport, setEventSupportMode, setKey, setLog4JMode, setStdOutMode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ncsa.tools.trebuchet.core.IUpdateOperationListener
cacheEntryUpdated
 

Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in class ProgressListener
Throws:
java.io.IOException

isReportMode

public boolean isReportMode()

operationStarted

public void operationStarted(java.lang.String operationId)
Specified by:
operationStarted in interface IOperationListener

cacheUpdated

public void cacheUpdated(java.lang.String operationId,
                         long lastEntryId)
Specified by:
cacheUpdated in interface IOperationListener

scanningDirectory

public void scanningDirectory(java.lang.String operationId,
                              long id)
Specified by:
scanningDirectory in interface IOperationListener

operationFinished

public void operationFinished(java.lang.String operationId)
Specified by:
operationFinished in interface IOperationListener

setCache

public void setCache(OperationCache cache)
Specified by:
setCache in interface ICacheAccessor

setReport

public void setReport(ProgressReport report)
               throws java.io.IOException
Throws:
java.io.IOException

getReport

public ProgressReport getReport()