|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.refiner.createdir.DefaultImplementation
public class DefaultImplementation
The default implementation for creating create dir jobs.
| Field Summary | |
|---|---|
static String |
COMPLETE_TRANSFORMATION_NAME
The complete TC name for kickstart. |
static String |
DERIVATION_NAME
The logical name of the transformation that creates directories on the remote execution pools. |
static String |
DERIVATION_NAMESPACE
The derivation namespace for the create dir jobs. |
static String |
DERIVATION_VERSION
The version number for the derivations for create dir jobs. |
static String |
EXECUTABLE_BASENAME
The basename of the pegasus cleanup executable. |
static String |
FILE_URL_SCHEME
The scheme name for file url. |
protected LogManager |
mLogger
The handle to the logging object. |
protected PegasusProperties |
mProps
The handle to the pegasus properties. |
protected SiteStore |
mSiteStore
The handle to the SiteStore. |
protected TransformationCatalog |
mTCHandle
The handle to the transformation catalog. |
protected boolean |
mUseMkdir
Whether we want to use dirmanager or mkdir directly. |
static String |
PATH_VALUE
The path to be set for create dir jobs. |
static String |
TRANSFORMATION_NAME
The logical name of the transformation that creates directories on the remote execution pools. |
static String |
TRANSFORMATION_NAMESPACE
The transformation namespace for the create dir jobs. |
static String |
TRANSFORMATION_VERSION
The version number for the derivations for create dir jobs. |
| Fields inherited from interface edu.isi.pegasus.planner.refiner.createdir.Implementation |
|---|
VERSION |
| Constructor Summary | |
|---|---|
DefaultImplementation()
|
|
| Method Summary | |
|---|---|
private TransformationCatalogEntry |
defaultTCEntry(String site)
Returns a default TC entry to be used in case entry is not found in the transformation catalog. |
protected String |
getCreateDirJobExecutionSite(String site,
String directoryURL)
Determines the site where the create dir job should be run , looking at the directory URL passed. |
void |
initialize(PegasusBag bag)
Intializes the class. |
Job |
makeCreateDirJob(String site,
String name,
String directoryURL)
It creates a make directoryURL job that creates a directoryURL on the remote pool using the perl executable that Gaurang wrote. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FILE_URL_SCHEME
public static final String TRANSFORMATION_NAMESPACE
public static final String TRANSFORMATION_NAME
public static final String TRANSFORMATION_VERSION
public static final String EXECUTABLE_BASENAME
public static final String PATH_VALUE
public static final String COMPLETE_TRANSFORMATION_NAME
public static final String DERIVATION_NAMESPACE
public static final String DERIVATION_NAME
public static final String DERIVATION_VERSION
protected TransformationCatalog mTCHandle
protected SiteStore mSiteStore
protected LogManager mLogger
protected PegasusProperties mProps
protected boolean mUseMkdir
| Constructor Detail |
|---|
public DefaultImplementation()
| Method Detail |
|---|
public void initialize(PegasusBag bag)
initialize in interface Implementationbag - bag of initialization objects
public Job makeCreateDirJob(String site,
String name,
String directoryURL)
makeCreateDirJob in interface Implementationsite - the site for which the create dir job is to be created.name - the name that is to be assigned to the job.directoryURL - the externally accessible URL to the directoryURL that is
created
private TransformationCatalogEntry defaultTCEntry(String site)
site - the site for which the default entry is required.
protected String getCreateDirJobExecutionSite(String site,
String directoryURL)
site - the site where the directory is to be createddirectoryURL - the URL to the directory.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||