edu.isi.pegasus.planner.refiner.cleanup
Interface CleanupStrategy

All Known Implementing Classes:
InPlace

public interface CleanupStrategy

The interface that defines how the cleanup job is invoked and created.

Version:
$Revision: 2582 $
Author:
Karan Vahi

Field Summary
static String VERSION
          The version number associated with this API Cleanup CleanupStrategy.
 
Method Summary
 Graph addCleanupJobs(Graph workflow)
          Adds cleanup jobs to the workflow.
 void initialize(PegasusBag bag, CleanupImplementation impl)
          Intializes the class.
 

Field Detail

VERSION

static final String VERSION
The version number associated with this API Cleanup CleanupStrategy.

See Also:
Constant Field Values
Method Detail

initialize

void initialize(PegasusBag bag,
                CleanupImplementation impl)
Intializes the class.

Parameters:
bag - bag of initialization objects
impl - the implementation instance that creates file cleanup job

addCleanupJobs

Graph addCleanupJobs(Graph workflow)
Adds cleanup jobs to the workflow.

Parameters:
workflow - the workflow to add cleanup jobs to.
Returns:
the workflow with cleanup jobs added to it.


Copyright © 2011 The University of Southern California. All Rights Reserved.