|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_lib.deployment.work.AbsCleanTask org.objectweb.jonas_lib.deployment.work.JarCleanTask
JOnAS Jar unused copy clean task class. This class provides a way for removing copies wich are unconsistent for jar files.
Constructor Summary | |
JarCleanTask(DeployerLog jarDeployerLog)
Default constructor : Construct a new cleaner. |
Method Summary | |
protected java.util.Vector |
getLogEntries()
Gets the log entries |
protected boolean |
isDeployLogEntry(LogEntry logEntry)
Check if the package pointed by the log entry is currently deploy |
protected boolean |
isValidLogEntry(LogEntry logEntry)
Return true if the work copy exists and is up to date |
protected void |
removeLogEntry(LogEntry logEntry)
Remove the work copy specified in the log entry and the log entry |
Methods inherited from class org.objectweb.jonas_lib.deployment.work.AbsCleanTask |
execute, getLogger, removeRecursiveDirectory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JarCleanTask(DeployerLog jarDeployerLog)
jarDeployerLog
- the deployer loggerMethod Detail |
protected boolean isValidLogEntry(LogEntry logEntry) throws CleanerException
isValidLogEntry
in class AbsCleanTask
logEntry
- entry in a deploy log
CleanerException
- if it failsprotected void removeLogEntry(LogEntry logEntry) throws CleanerException
removeLogEntry
in class AbsCleanTask
logEntry
- entry in a deploy log
CleanerException
- if it failsprotected java.util.Vector getLogEntries()
getLogEntries
in class AbsCleanTask
protected boolean isDeployLogEntry(LogEntry logEntry) throws CleanerException
isDeployLogEntry
in class AbsCleanTask
logEntry
- entry in a deploy log
CleanerException
- if it fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |