| |
|
| java.lang.Object org.objectweb.jonas_lib.deployment.work.AbsCleanTask
All known Subclasses: org.objectweb.jonas_lib.deployment.work.EarCleanTask, org.objectweb.jonas_lib.deployment.work.JarCleanTask,
AbsCleanTask | abstract public class AbsCleanTask (Code) | | Abstract Clean Task class which define a generic job executed by the cleaner
thread
author: Benoit PELLETIER |
Constructor Summary | |
protected | AbsCleanTask() Default constructor : Construct a new cleaner. |
AbsCleanTask | protected AbsCleanTask()(Code) | | Default constructor : Construct a new cleaner.
|
getLogEntries | abstract protected Vector getLogEntries()(Code) | | Abstract method defined in the derived classes get the log entries
the log entries |
getLogger | protected static Logger getLogger()(Code) | | the logger |
isDeployLogEntry | abstract protected boolean isDeployLogEntry(LogEntry logEntry) throws CleanerException(Code) | | Check if the package pointed by the log entry is currently deploy
Parameters: logEntry - entry in a deploy log true if the package pointed by the log entry is currently deployed throws: CleanerException - if it fails |
isValidLogEntry | abstract protected boolean isValidLogEntry(LogEntry logEntry) throws CleanerException(Code) | | Abstract method defined in the derived classes return true if the work
copy exist and is up to date
Parameters: logEntry - entry in a deploy log true if the work copy exists and is up to date throws: CleanerException - if it fails |
removeLogEntry | abstract protected void removeLogEntry(LogEntry logEntry) throws CleanerException(Code) | | Abstract method defined in the derived classes remove the work copy
specified in the log entry and the log entry
Parameters: logEntry - entry in a deploy log throws: CleanerException - if it fails |
removeRecursiveDirectory | protected void removeRecursiveDirectory(File file)(Code) | | Remove a directory with all its child (recursive)
Parameters: file - the file or directory which must be deleted |
|
|
|