|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.work.DeployerLog
public class DeployerLog
Class which permits to store or load the association between the name of a package and the timestamped work copy associated.
| Constructor Summary | |
|---|---|
DeployerLog(File logFile)
Constructor for the deployerLog. |
|
| Method Summary | |
|---|---|
Vector<LogEntry> |
addEntry(File original,
File copy)
Add the entry and return the new entries. |
Vector<LogEntry> |
getEntries()
Return the entries of the file. |
protected org.ow2.util.log.Log |
getLogger()
|
Vector<LogEntry> |
removeEntry(LogEntry entry)
Remove the given entry and return the entries of the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeployerLog(File logFile)
throws DeployerLogException
logFile - the file which is used for read/write entries
DeployerLogException - if the loadentries failed.| Method Detail |
|---|
protected org.ow2.util.log.Log getLogger()
public Vector<LogEntry> getEntries()
public Vector<LogEntry> removeEntry(LogEntry entry)
throws DeployerLogException
entry - the LogEntry which must be remove.
DeployerLogException - if the remove can't be done
public Vector<LogEntry> addEntry(File original,
File copy)
throws DeployerLogException
original - the name of the filecopy - the copy of the file
DeployerLogException - if the add can't be done
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||