org.objectweb.jonas.work
Class LogEntry

java.lang.Object
  extended by org.objectweb.jonas.work.LogEntry

public class LogEntry
extends Object

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
LogEntry(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

LogEntry

public LogEntry(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.

Returns:
the ear file of this ear log entry.

getCopy

public File getCopy()
Return the unpacked directory.

Returns:
the unpacked directory.


Copyright © 2007 OW2 Consortium. All Rights Reserved.