org.ow2.jonas.lib.work
Class LogEntryImpl

java.lang.Object
  extended by org.ow2.jonas.lib.work.LogEntryImpl
All Implemented Interfaces:
LogEntry

public class LogEntryImpl
extends Object
implements LogEntry

Class wich represent an entry in a log file : a original associate with its work copy.

Author:
Florent Benoit, Ludovic Bert, Benoit PELLETIER

Constructor Summary
LogEntryImpl(File original, File copy)
          Constructor of a log entry.
 
Method Summary
 File getCopy()
          Return the unpacked directory.
 File getOriginal()
          Return the ear file of this ear log entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogEntryImpl

public LogEntryImpl(File original,
                    File copy)
Constructor of a log entry.

Parameters:
original - the file to copy
copy - name of the copy
Method Detail

getOriginal

public File getOriginal()
Return the ear file of this ear log entry.

Specified by:
getOriginal in interface LogEntry
Returns:
the ear file of this ear log entry.

getCopy

public File getCopy()
Return the unpacked directory.

Specified by:
getCopy in interface LogEntry
Returns:
the unpacked directory.


Copyright © 2010 OW2 Consortium. All Rights Reserved.