01: /**
02: * This file or a portion of this file is licensed under the terms of
03: * the Globus Toolkit Public License, found in file GTPL, or at
04: * http://www.globus.org/toolkit/download/license.html. This notice must
05: * appear in redistributions of this file, with or without modification.
06: *
07: * Redistributions of this Software, with or without modification, must
08: * reproduce the GTPL in: (1) the Software, or (2) the Documentation or
09: * some other similar material which is provided with the Software (if
10: * any).
11: *
12: * Copyright 1999-2004 University of Chicago and The University of
13: * Southern California. All rights reserved.
14: */package org.griphyn.cPlanner.engine.cleanup;
15:
16: import org.griphyn.cPlanner.partitioner.graph.Graph;
17:
18: /**
19: * The interface that defines how the cleanup job is invoked and created.
20: *
21: * @author Karan Vahi
22: * @version $Revision: 50 $
23: */
24: public interface Strategy {
25:
26: /**
27: * The version number associated with this API Cleanup Strategy.
28: */
29: public static final String VERSION = "1.0";
30:
31: /**
32: * Adds cleanup jobs to the workflow.
33: *
34: * @param workflow the workflow to add cleanup jobs to.
35: *
36: * @return the workflow with cleanup jobs added to it.
37: */
38: public Graph addCleanupJobs(Graph workflow);
39:
40: }
|