|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.star.offline.scheduler.Dispatchers.lsf.CSHApplication
public class CSHApplication
Application module for csh.
This module defines the interface of a csh task, and prepare the task information in the following environment variables: $JOBID - the unique job id given by the scheduler
Constructor Summary | |
---|---|
CSHApplication()
Creates a new instance of CSHApplication |
Method Summary | |
---|---|
java.lang.String |
FillCopyCommand(java.lang.String command,
java.lang.String fromScratch,
java.lang.String toURL,
boolean isGrid)
replaces the (fromScratch) and the (toURL) in the copy command with the true path |
java.lang.String |
getCommandLine()
Returns the command line to execute the task set by setJob . |
java.lang.String |
getCopyCommand()
|
java.lang.String |
getCopyScript()
Getter for property copyScript. |
java.lang.String |
getCSHScriptFileName()
Returns the name for the csh script (without the path). |
java.lang.String |
getCSHScriptName()
Returns the path and name for the csh script. |
int |
getEnvVariableLimit()
Getter for property EnvVariableLimit. |
java.lang.String |
getGridCopyCommand()
|
java.lang.String |
getHelperScripts()
|
java.lang.String |
getInitializationScript()
|
java.lang.String |
getInputFileListName()
Returns the name for the input file list file. |
java.lang.String |
getJobName()
Returns the job name to be assigned to the batch system. |
java.lang.String |
getMakeExecutableCommand()
Returns the chmod command from the config file |
java.lang.String |
getRecursiveCopyCommand()
|
java.lang.String |
getRegisterScript()
Getter for property registerScript. |
java.lang.String |
getStderr()
Returns the file for standard error redirection. |
java.lang.String |
getStdin()
Returns the file for standard input redirection. |
java.lang.String |
getStdout()
Returns the file for standard output redirection. |
java.lang.String |
getStorageScript()
Getter for property storageScript. |
java.lang.String |
importPakages()
|
boolean |
isRecurseCopy()
Getter for property recurseCopy. |
void |
prepareJob()
Prepares the task, by creating the script. |
void |
setCopyCommand(java.lang.String CopyCommand)
sets the command for copying files back, when the user asks for use (fromScratch) for source and (toURL) for destination. |
void |
setCopyScript(java.lang.String copyScript)
Setter for property copyScript. |
void |
setEnvVariableLimit(int EnvVariableLimit)
Setter for property EnvVariableLimit. |
void |
setGridCopyCommand(java.lang.String gridCopyCommand)
sets the command for copying files back, when the user asks for use (fromScratch) for source and (toURL) for destination. |
void |
setHelperScripts(java.lang.String helperScripts)
|
void |
setInitializationScript(java.lang.String initializationScript)
|
void |
setJob(Request request,
Job job)
Sets the task the application will have to prepare. |
void |
setMakeExecutableCommand(java.lang.String makeExecutableCommand)
|
void |
setRecurseCopy(boolean recurseCopy)
Setter for property recurseCopy. |
void |
setRecursiveCopyCommand(java.lang.String recursiveCopyCommand)
sets the command for copying files back, when the user asks for use (fromScratch) for source and (toURL) for destination. |
void |
setRegisterScript(java.lang.String registerScript)
Setter for property registerScript. |
void |
setStorageScript(java.lang.String storageScript)
Setter for property storageScript. |
void |
setSubmissionCommand(java.lang.String submissionCommand)
Sets the submittion command used to submit the job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSHApplication()
Method Detail |
---|
public void prepareJob()
public java.lang.String getCommandLine()
setJob
.
public java.lang.String getMakeExecutableCommand()
public void setMakeExecutableCommand(java.lang.String makeExecutableCommand)
public void setJob(Request request, Job job)
request
- the request that originated the taskjob
- the job to be executedpublic void setSubmissionCommand(java.lang.String submissionCommand)
submissionCommand
- the command line to submit the job to the batch systempublic java.lang.String getCSHScriptName()
public java.lang.String getCSHScriptFileName()
public java.lang.String getInputFileListName()
public java.lang.String getStdin()
public java.lang.String getStdout()
public java.lang.String getStderr()
public java.lang.String getJobName()
public boolean isRecurseCopy()
public void setRecurseCopy(boolean recurseCopy)
recurseCopy
- New value of property recurseCopy.public int getEnvVariableLimit()
public void setEnvVariableLimit(int EnvVariableLimit)
EnvVariableLimit
- New value of property EnvVariableLimit.public java.lang.String getCopyScript()
public void setCopyScript(java.lang.String copyScript)
copyScript
- New value of property copyScript.public java.lang.String getStorageScript()
public void setStorageScript(java.lang.String storageScript)
storageScript
- New value of property storageScript.public java.lang.String getRegisterScript()
public void setRegisterScript(java.lang.String registerScript)
registerScript
- New value of property registerScript.public void setGridCopyCommand(java.lang.String gridCopyCommand)
public java.lang.String getGridCopyCommand()
public void setCopyCommand(java.lang.String CopyCommand)
public java.lang.String getCopyCommand()
public void setRecursiveCopyCommand(java.lang.String recursiveCopyCommand)
public java.lang.String getRecursiveCopyCommand()
public java.lang.String FillCopyCommand(java.lang.String command, java.lang.String fromScratch, java.lang.String toURL, boolean isGrid)
public java.lang.String getHelperScripts()
public void setHelperScripts(java.lang.String helperScripts)
public java.lang.String getInitializationScript()
public void setInitializationScript(java.lang.String initializationScript)
public java.lang.String importPakages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |