pl.edu.icm.yadda.service2.user.log
Class CSVMigrationLogger

java.lang.Object
  extended by pl.edu.icm.yadda.service2.user.log.CSVMigrationLogger
All Implemented Interfaces:
MigrationLogger

public class CSVMigrationLogger
extends java.lang.Object
implements MigrationLogger

Stateful CSV migration logger.

Author:
mhorst

Nested Class Summary
 
Nested classes/interfaces inherited from interface pl.edu.icm.yadda.service2.user.log.MigrationLogger
MigrationLogger.Status, MigrationLogger.Type
 
Field Summary
protected  java.lang.String rootDir
          Root directory.
 
Constructor Summary
CSVMigrationLogger()
           
 
Method Summary
 void close()
          Finalizes logging.
 void init()
          Initializes logging.
 void log(MigrationLogger.Type type, MigrationLogger.Status status, java.lang.String id, java.lang.String msg, java.lang.String... auxParams)
          Loggs single entry.
 void setRootDir(java.lang.String rootDir)
          Sets root directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootDir

protected java.lang.String rootDir
Root directory.

Constructor Detail

CSVMigrationLogger

public CSVMigrationLogger()
Method Detail

init

public void init()
Description copied from interface: MigrationLogger
Initializes logging.

Specified by:
init in interface MigrationLogger

log

public void log(MigrationLogger.Type type,
                MigrationLogger.Status status,
                java.lang.String id,
                java.lang.String msg,
                java.lang.String... auxParams)
Description copied from interface: MigrationLogger
Loggs single entry.

Specified by:
log in interface MigrationLogger

close

public void close()
Description copied from interface: MigrationLogger
Finalizes logging.

Specified by:
close in interface MigrationLogger

setRootDir

public void setRootDir(java.lang.String rootDir)
Sets root directory.

Parameters:
rootDir -


Copyright © 2002-2012 ICM, Warsaw University. All Rights Reserved.