Package org.qubership.atp.tdm.service
Interface CleanupService
- All Known Implementing Classes:
CleanupServiceImpl
public interface CleanupService
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetCleanupConfig(UUID id) getNextScheduledRun(String cronExpression) getTablesByTableNameAndEnvironmentsListWithSameSystemName(List<UUID> environmentsList, String tableName) voidrunCleanup(String tableName, TestDataCleanupConfig config) runCleanup(UUID configId) runCleanup(CleanupSettings cleanupSettings) saveCleanupConfig(CleanupSettings cleanupSettings)
-
Method Details
-
getCleanupConfig
-
saveCleanupConfig
- Throws:
Exception
-
runCleanup
- Throws:
Exception
-
runCleanup
CleanupResults runCleanup(@Nonnull String tableName, @Nonnull TestDataCleanupConfig config) throws Exception - Throws:
Exception
-
runCleanup
- Throws:
Exception
-
getNextScheduledRun
- Throws:
ParseException
-
removeUnused
void removeUnused() -
fillCleanupTypeColumn
void fillCleanupTypeColumn() -
getCleanupSettings
-
getTablesByTableNameAndEnvironmentsListWithSameSystemName
-