public class PDAXCallbackFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.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,
java.lang.String directory)
Loads the implementing class corresponding to the type specified by the user.
|
static Callback |
loadInstance(PegasusProperties properties,
PlannerOptions options,
java.lang.String directory,
java.lang.String className)
Loads the implementing class corresponding to the type specified by the user.
|
public static final java.lang.String DEFAULT_PACKAGE_NAME
public static Callback loadInstance(PegasusProperties properties, PlannerOptions options, java.lang.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, java.lang.String directory, java.lang.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