org.fuin.kickstart4j
Class ConfigUpdater.DefaultListener

java.lang.Object
  extended by org.fuin.kickstart4j.ConfigUpdater.DefaultListener
All Implemented Interfaces:
ConfigUpdaterListener
Enclosing class:
ConfigUpdater

protected static final class ConfigUpdater.DefaultListener
extends Object
implements ConfigUpdaterListener

Outputs events to the console.


Constructor Summary
protected ConfigUpdater.DefaultListener()
           
 
Method Summary
 void onCopy(RemoteFile remoteFile, File file, int nr, int max)
          A file is being copied.
 void onNotFound(RemoteFile remoteFile, File file, int nr, int max)
          A remote file was not found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigUpdater.DefaultListener

protected ConfigUpdater.DefaultListener()
Method Detail

onCopy

public void onCopy(RemoteFile remoteFile,
                   File file,
                   int nr,
                   int max)
A file is being copied.

Specified by:
onCopy in interface ConfigUpdaterListener
Parameters:
remoteFile - Remote file.
file - Local file.
nr - Current file number.
max - Max number of files.

onNotFound

public void onNotFound(RemoteFile remoteFile,
                       File file,
                       int nr,
                       int max)
A remote file was not found.

Specified by:
onNotFound in interface ConfigUpdaterListener
Parameters:
remoteFile - Remote file.
file - Local file.
nr - Current file number.
max - Max number of files.


Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.