ccs.cpc.impl
Class ConfirmingVFileProcessor

java.lang.Object
  extended by ccs.cpc.impl.ConfirmingVFileProcessor
All Implemented Interfaces:
VFileProcessor
Direct Known Subclasses:
CopyPayload, WipePayload

public abstract class ConfirmingVFileProcessor
extends java.lang.Object
implements VFileProcessor


Constructor Summary
protected ConfirmingVFileProcessor()
           
 
Method Summary
protected  boolean confirm(RecurseUpdater ru, java.lang.String title, java.lang.Object o)
          whether the user is willing for the operation to take place.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ccs.cpc.impl.VFileProcessor
getStatusPrefix, isProcessDirsAtomically, isReportFiles, postprocess, postprocessDir, preprocess, preprocessDir, processDirAtomically, processFile
 

Constructor Detail

ConfirmingVFileProcessor

protected ConfirmingVFileProcessor()
Method Detail

confirm

protected boolean confirm(RecurseUpdater ru,
                          java.lang.String title,
                          java.lang.Object o)
                   throws RecursionFailedException
whether the user is willing for the operation to take place.

Parameters:
title - Title for the confirmation
o - The dialog payload. Usually String or Object[].
Throws:
RecursionFailedException - If the user cancelled.