public class PDAXCallbackFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PACKAGE_NAME
Package to prefix "just" class names with.
|
Constructor and Description |
---|
PDAXCallbackFactory() |
Modifier and Type | Method and Description |
---|---|
static Callback |
loadInstance(PegasusProperties properties,
PlannerOptions options,
String directory)
Loads the implementing class corresponding to the type specified by the user.
|
static Callback |
loadInstance(PegasusProperties properties,
PlannerOptions options,
String directory,
String className)
Loads the implementing class corresponding to the type specified by the user.
|
public static final String DEFAULT_PACKAGE_NAME
public static Callback loadInstance(PegasusProperties properties, PlannerOptions options, String directory) throws PDAXCallbackFactoryException
directory
- the base level directory in which the output files are
to be generated.properties
- the PegasusProperties
object containing all
the properties required by Pegasus.PDAXCallbackFactoryException
- that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME
,
org.griphyn.cPlanner.common.PegasusProperties#getPartitionerDAXCallback()
public static Callback loadInstance(PegasusProperties properties, PlannerOptions options, String directory, String className) throws PDAXCallbackFactoryException
properties
- the PegasusProperties
object containing all
the properties required by Pegasus.
dag|noop|daglite.options
- the PlannerOptions
object containing the
options passed to gencdag.directory
- the directory where the pdax file and parititioned daxes
reside.className
- the name of the implementing class.PDAXCallbackFactoryException
- that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME
Copyright © 2011 The University of Southern California. All Rights Reserved.