Skip to content
Snippets Groups Projects
Commit 6e01fc6a authored by felmer's avatar felmer
Browse files

SSDM-11605: PreStagingCleanUpMaintenanceTask no longer behaves as...

SSDM-11605: PreStagingCleanUpMaintenanceTask no longer behaves as DataSetRegistrationCleanUpTask but shows an error on setup
parent 2e4eb378
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -15,11 +15,35 @@
*/
package ch.ethz.sis.openbis.generic.server.dss.plugins;
import java.util.Properties;
import org.apache.log4j.Logger;
import ch.systemsx.cisd.common.logging.LogCategory;
import ch.systemsx.cisd.common.logging.LogFactory;
import ch.systemsx.cisd.common.maintenance.IMaintenanceTask;
/**
* For backwards compatibility after PreStagingCleanUpMaintenanceTask had been renamed to DataSetRegistrationCleanUpTask
*
* @author Franz-Josef Elmer
*/
public class PreStagingCleanUpMaintenanceTask extends DataSetRegistrationCleanUpTask
public class PreStagingCleanUpMaintenanceTask implements IMaintenanceTask
{
private static final Logger notifyLog = LogFactory.getLogger(LogCategory.NOTIFY,
PreStagingCleanUpMaintenanceTask.class);
@Override
public void setUp(String pluginName, Properties properties)
{
notifyLog.error("This task has been deprecated in favour of"
+ DataSetRegistrationCleanUpTask.class.getName()
+ " that is already schedule automatically during startup.");
}
@Override
public void execute()
{
// Does nothing
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment