|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.work.DeployerLog
public class DeployerLog
Class which permits to store or load the association between the name of an package and the timestamped work copy associated.
Constructor Summary | |
---|---|
DeployerLog(File logFile)
Constructor for the deployerLog. |
Method Summary | |
---|---|
Vector |
addEntry(File original,
File copy)
Add the entry and return the new entries |
Vector |
getEntries()
Return the entries of the file. |
protected static org.objectweb.util.monolog.api.Logger |
getLogger()
|
Vector |
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 static org.objectweb.util.monolog.api.Logger getLogger()
public Vector getEntries()
public Vector removeEntry(LogEntry entry) throws DeployerLogException
entry
- the LogEntry which must be remove.
DeployerLogException
- if the remove can't be donepublic Vector 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 |