Project: stp

com.ibm.rational.wvcm.stp.cc
Interface CcUpdateListener

All Superinterfaces:
CcListener

public interface CcUpdateListener
extends CcListener

Interface that extends the basic CcListener class. This is used for specific CCRC CLI related callbacks for Update operations.


Nested Class Summary
static class CcUpdateListener.UpdateType
          Values for file or directory update type
 
Method Summary
 void notifyLogFile(File logFile)
          Callback used when doing a refresh of an automatic view.
 void notifyUpdate(CcUpdateListener.UpdateType updateType, CcFile file)
          Callback from response handler to notify that a file or directory is updated and update type is associated with it.
 
Methods inherited from interface CcListener
notify
 

Method Detail

notifyLogFile

void notifyLogFile(File logFile)
Callback used when doing a refresh of an automatic view. Provides the update log file (which may still be in the process of being written).

Parameters:
logFile - File containing the update log.

notifyUpdate

void notifyUpdate(CcUpdateListener.UpdateType updateType,
                  CcFile file)
Callback from response handler to notify that a file or directory is updated and update type is associated with it. Note that a client cannot count on any notify method in the CcUpdateListener interface being invoked, so a resource might be changed or work might have been completed without notifyUpdate or notifyLogFile ever being invoked.

Parameters:
updateType - update type for this file or directory @see UpdateType
file - The CcFile is representing the updated file or directory.

Generated Fri 20-Feb-2015 11:07 PM

Copyright © IBM 2015. All rights reserved.