Class RemoveUnusedHistoryTask
- java.lang.Object
-
- org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
-
- org.ametys.workspaces.repository.maintenance.RemoveUnusedHistoryTask
-
- All Implemented Interfaces:
LogEnabled
public class RemoveUnusedHistoryTask extends AbstractMaintenanceTask
Remove unused object from jcr history
-
-
Field Summary
Fields Modifier and Type Field Description protected RepositoryImpl
_repository
The JackRabbit RepositoryImpl-
Fields inherited from class org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
_logger, _progress, _repositoryConfig, _repositoryProvider
-
-
Constructor Summary
Constructors Constructor Description RemoveUnusedHistoryTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
apply()
Apply the tasks (within the execute method()).protected void
setLogger()
Set the tasks logger.-
Methods inherited from class org.ametys.workspaces.repository.maintenance.AbstractMaintenanceTask
_getFormattedDuration, close, execute, getProgressInfo, initialize, isFinished, setLogger
-
-
-
-
Field Detail
-
_repository
protected RepositoryImpl _repository
The JackRabbit RepositoryImpl
-
-
Constructor Detail
-
RemoveUnusedHistoryTask
public RemoveUnusedHistoryTask()
-
-
Method Detail
-
setLogger
protected void setLogger()
Description copied from class:AbstractMaintenanceTask
Set the tasks logger.- Specified by:
setLogger
in classAbstractMaintenanceTask
-
apply
protected void apply() throws RepositoryException
Description copied from class:AbstractMaintenanceTask
Apply the tasks (within the execute method()).- Specified by:
apply
in classAbstractMaintenanceTask
- Throws:
RepositoryException
- If a repository exception
-
-