| |
|
| java.lang.Object org.griphyn.cPlanner.code.gridstart.GridStartFactory
GridStartFactory | public class GridStartFactory (Code) | | An abstract factory class to load the appropriate type of GridStart
implementations, and their corresponding POSTScript classes.
This factory class is different from other factories, in the sense that it
must be instantiated first and intialized first before calling out to any
of the Factory methods.
author: Karan Vahi version: $Revision: 410 $ |
Method Summary | |
public void | initialize(PegasusBag bag, ADag dag) Initializes the factory with known GridStart implementations. | public GridStart | loadGridStart(SubInfo job, String gridStartPath) Loads the appropriate gridstart implementation for a job on the basis of
the value of the GRIDSTART_KEY in the VDS namepsace. | public POSTScript | loadPOSTScript(SubInfo job, GridStart gridStart) Loads the appropriate POST Script implementation for a job on the basis of
the value of the VDS profile GRIDSTART_KEY, and the DAGMan profile
POST_SCRIPT_KEY in the VDS namepsace. |
ALL_POST_SCRIPT_SCOPE | final public static String ALL_POST_SCRIPT_SCOPE(Code) | | The postscript mode in which post scripts are added only for all
jobs.
|
DEFAULT_PACKAGE_NAME | final public static String DEFAULT_PACKAGE_NAME(Code) | | The package name where the implementations of this interface reside
by default.
|
ESSENTIAL_POST_SCRIPT_SCOPE | final public static String ESSENTIAL_POST_SCRIPT_SCOPE(Code) | | The postscript mode in which post scripts are added only for essential
jobs.
|
GRIDSTART_IMPLEMENTING_CLASSES | public static String[] GRIDSTART_IMPLEMENTING_CLASSES(Code) | | The known gridstart implementations.
|
GRIDSTART_SHORT_NAMES | public static String[] GRIDSTART_SHORT_NAMES(Code) | | The corresponding short names for the implementations.
|
KICKSTART_INDEX | final public static int KICKSTART_INDEX(Code) | | The index in the constant arrays for NoGridStart.
|
NO_GRIDSTART_INDEX | final public static int NO_GRIDSTART_INDEX(Code) | | The index in the constant arrays for NoGridStart.
|
GridStartFactory | public GridStartFactory()(Code) | | The default constructor.
|
initialize | public void initialize(PegasusBag bag, ADag dag)(Code) | | Initializes the factory with known GridStart implementations.
Parameters: bag - the bag of objects that is used for initialization. Parameters: dag - the concrete dag so far. |
|
|
|