org.sonar.plugins.dbcleaner.api
Interface PurgeTask

All Superinterfaces:
BatchComponent, BatchExtension, Extension
All Known Implementing Classes:
DefaultPurgeTask

@Beta
public interface PurgeTask
extends BatchExtension

Since:
2.14

Method Summary
 PurgeTask delete(long resourceId)
          Completely deletes a tree of resources.
 PurgeTask purge(long resourceId)
          Purges the data related to a tree of resources.
 

Method Detail

purge

PurgeTask purge(long resourceId)
Purges the data related to a tree of resources. Exceptions are logged and are not thrown again, so this method fails only on Errors.

Parameters:
resourceId - the root of the tree
Returns:
this

delete

PurgeTask delete(long resourceId)
Completely deletes a tree of resources.

Parameters:
resourceId - the root of the tree
Returns:
this


Copyright © 2009-2012 SonarSource. All Rights Reserved.