Interface CleanupImplementation
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_CLEANUP_CATEGORY_KEYDefault category for registration jobsstatic java.lang.StringVERSIONThe version number associated with this API Cleanup CleanupImplementation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobcreateCleanupJob(java.lang.String id, java.util.List files, Job job)Creates a cleanup job that removes the files from remote working directory.voidinitialize(PegasusBag bag)Intializes the class.
-
-
-
Field Detail
-
VERSION
static final java.lang.String VERSION
The version number associated with this API Cleanup CleanupImplementation.- See Also:
- Constant Field Values
-
DEFAULT_CLEANUP_CATEGORY_KEY
static final java.lang.String DEFAULT_CLEANUP_CATEGORY_KEY
Default category for registration jobs- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
void initialize(PegasusBag bag)
Intializes the class.- Parameters:
bag- bag of initialization objects
-
createCleanupJob
Job createCleanupJob(java.lang.String id, java.util.List files, Job job)
Creates a cleanup job that removes the files from remote working directory. This will eventually make way to it's own interface.- Parameters:
id- the identifier to be assigned to the job.files- the list ofPegasusFilethat need to be cleaned up.job- the primary compute job with which this cleanup job is associated.- Returns:
- the cleanup job.
-
-