org.ow2.jonas.workcleaner
Interface IDeployerLog<T extends LogEntry>

All Known Subinterfaces:
IAddonDeployerLog<T>

public interface IDeployerLog<T extends LogEntry>

Interface which permits to store or load the association between the name of a package and the timestamped work copy associated.

Author:
Jeremy Cazaux

Method Summary
 Vector<T> addEntry(T logEntry)
          Add the entry and return the new entries.
 Vector<T> getEntries()
          Return the entries of the file.
 T getEntry(File original)
           
 Vector<T> removeEntry(T entry)
          Remove the given entry and return the entries of the file.
 

Method Detail

getEntries

Vector<T> getEntries()
Return the entries of the file.

Returns:
a vector of LogEntry item.

removeEntry

Vector<T> removeEntry(T entry)
                                       throws DeployerLogException
Remove the given entry and return the entries of the file.

Parameters:
entry - the LogEntry which must be remove.
Returns:
the new vector of LogEntry item.
Throws:
DeployerLogException - if the remove can't be done

addEntry

Vector<T> addEntry(T logEntry)
                                    throws DeployerLogException
Add the entry and return the new entries.

Parameters:
logEntry - the entry to add
Throws:
DeployerLogException - if the add can't be done

getEntry

T getEntry(File original)
Parameters:
original - Original File
Returns:
the entry which match with the orginal file


Copyright © 2012 OW2 Consortium. All Rights Reserved.