|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.code.generator.condor.style.Abstract
public abstract class Abstract
An abstract implementation of the CondorStyle interface. Impelements the initialization method.
| Field Summary | |
|---|---|
protected CredentialHandlerFactory |
mCredentialFactory
Handle to the Credential Handler Factory |
protected LogManager |
mLogger
A handle to the logging object. |
protected PegasusProperties |
mProps
The object holding all the properties pertaining to Pegasus. |
protected SiteStore |
mSiteStore
The handle to the Site Catalog Store. |
| Fields inherited from interface edu.isi.pegasus.planner.code.generator.condor.CondorStyle |
|---|
VERSION |
| Constructor Summary | |
|---|---|
Abstract()
The default constructor. |
|
| Method Summary | |
|---|---|
void |
apply(AggregatedJob job)
Apply a style to an AggregatedJob |
protected void |
applyCredentialsForLocalExec(Job job)
Examines the credential requirements for a job and adds appropiate transfer and environment directives for the credentials to be picked up for the local job |
protected void |
applyCredentialsForRemoteExec(Job job)
Examines the credential requirements for a job and adds appropiate transfer and environment directives for the credentials to be staged and picked up by the job. |
protected String |
errorMessage(Job job,
String style,
String universe)
Constructs an error message in case of style mismatch. |
void |
initialize(PegasusBag bag,
CredentialHandlerFactory credentialFactory)
Initializes the Code Style implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.isi.pegasus.planner.code.generator.condor.CondorStyle |
|---|
apply |
| Field Detail |
|---|
protected PegasusProperties mProps
protected SiteStore mSiteStore
protected LogManager mLogger
protected CredentialHandlerFactory mCredentialFactory
| Constructor Detail |
|---|
public Abstract()
| Method Detail |
|---|
public void initialize(PegasusBag bag,
CredentialHandlerFactory credentialFactory)
throws CondorStyleException
initialize in interface CondorStylebag - the bag of initialization objectscredentialFactory - the credential handler factory
CondorStyleFactoryException - that nests any error that
might occur during the instantiation of the implementation.
CondorStyleException
protected String errorMessage(Job job,
String style,
String universe)
job - the job object.style - the name of the style.universe - the universe associated with the job.
public void apply(AggregatedJob job)
throws CondorStyleException
apply in interface CondorStylejob - the AggregatedJob object containing the job.
CondorStyleException - in case of any error occuring code generation.
protected void applyCredentialsForRemoteExec(Job job)
throws CondorStyleException
job -
CondorStyleException
protected void applyCredentialsForLocalExec(Job job)
throws CondorStyleException
job -
CondorStyleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||