org.ow2.jonas.web.base
Class WarCleanTask
java.lang.Object
org.ow2.jonas.lib.work.AbsCleanTask
org.ow2.jonas.web.base.WarCleanTask
- All Implemented Interfaces:
- CleanTask
public class WarCleanTask
- extends AbsCleanTask
JOnAS WAR unused directory clean task class. This class provides a way for removing directories which are inconsistent
directories for war files (more precisely for single wars).
- Author:
- Francois Fornaciari
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WarCleanTask
public WarCleanTask(JWebContainerService webService,
DeployerLog deployerLog)
- Construct a new WAR clean task.
- Parameters:
webService - Web Container Service referencedeployerLog - DeployerLog of the task
isDeployedLogEntry
protected boolean isDeployedLogEntry(LogEntry logEntry)
throws WorkCleanerException
- Check if the package pointed by the log entry is currently deploy.
- Specified by:
isDeployedLogEntry in class AbsCleanTask
- Parameters:
logEntry - entry in a deploy log
- Returns:
- true if the package pointed by the log entry is currently deployed
- Throws:
WorkCleanerException - if it fails
getDeployerLog
public DeployerLog getDeployerLog()
- Returns the
DeployerLog of the task.
- Specified by:
getDeployerLog in class AbsCleanTask
- Returns:
- The DeployerLog of the task
- See Also:
AbsCleanTask.getDeployerLog()
Copyright ? 2009 OW2 Consortium. All Rights Reserved.