Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CLEANUP_CATEGORY_KEY
Default category for registration jobs
|
static java.lang.String |
VERSION
The version number associated with this API Cleanup CleanupImplementation.
|
Modifier and Type | Method and Description |
---|---|
Job |
createCleanupJob(java.lang.String id,
java.util.List files,
Job job)
Creates a cleanup job that removes the files from remote working directory.
|
void |
initialize(PegasusBag bag)
Intializes the class.
|
static final java.lang.String VERSION
static final java.lang.String DEFAULT_CLEANUP_CATEGORY_KEY
void initialize(PegasusBag bag)
bag
- bag of initialization objectsJob createCleanupJob(java.lang.String id, java.util.List files, Job job)
id
- the identifier to be assigned to the job.files
- the list of PegasusFile
that need to be
cleaned up.job
- the primary compute job with which this cleanup job is associated.