tecgraf.openbus.opendreams
Class OpenDreamsJobTemplateImpl
java.lang.Object
tecgraf.openbus.DRMAA.JobTemplate
tecgraf.openbus.opendreams.OpenDreamsJobTemplate
tecgraf.openbus.opendreams.OpenDreamsJobTemplateImpl
- All Implemented Interfaces:
- Serializable, IDLEntity, Streamable, StreamableValue, ValueBase
public class OpenDreamsJobTemplateImpl
- extends OpenDreamsJobTemplate
A classe OpenDreamsJobTemplateImpl implementa um
OpenDreamsJobTemplate.
Um job template do OpenDreams possui, além dos atributos default do job
template, outros atributos que são específicos para execução de algoritmos ou
fluxo de algoritmos no OpenDreams. Esses atributos adicionais são:
- jobParameters: o conjunto de chave-valor que define os parâmetros dos
algoritmos.
- Author:
- Tecgraf PUC-Rio
- See Also:
- Serialized Form
| Fields inherited from class tecgraf.openbus.DRMAA.JobTemplate |
args, blockEmail, email, errorPath, hardRunDurationLimit, hardWallClockTimeLimit, inputPath, jobCategory, jobEnvironment, jobName, jobSubmissionState, joinFiles, nativeSpecification, outputPath, remoteCommand, softRunDurationLimit, softWallClockTimeLimit, transferFiles, workingDirectory |
jobParametersMap
protected HashMap<String,String> jobParametersMap
- Mapa com os parâmetros para execução do job
OpenDreamsJobTemplateImpl
public OpenDreamsJobTemplateImpl()
- Construtor.
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
_write
public void _write(OutputStream os)
- Specified by:
_write in interface Streamable- Overrides:
_write in class OpenDreamsJobTemplate
_read
public void _read(InputStream is)
- Specified by:
_read in interface Streamable- Overrides:
_read in class OpenDreamsJobTemplate
addJobParameter
public void addJobParameter(String key,
String value)
- Specified by:
addJobParameter in class OpenDreamsJobTemplate
getJobParameter
public String getJobParameter(String key)
- Specified by:
getJobParameter in class OpenDreamsJobTemplate
getJobParameters
public JobParameter[] getJobParameters()
- Specified by:
getJobParameters in class OpenDreamsJobTemplate
setRemoteCommand
public void setRemoteCommand(String remoteCommand)
- Specified by:
setRemoteCommand in class OpenDreamsJobTemplate
getRemoteCommand
public String getRemoteCommand()
- Specified by:
getRemoteCommand in class OpenDreamsJobTemplate
setArgs
public void setArgs(String[] args)
- Specified by:
setArgs in class OpenDreamsJobTemplate
getArgs
public String[] getArgs()
- Specified by:
getArgs in class OpenDreamsJobTemplate
getJobSubmissionState
public JobSubmissionState getJobSubmissionState()
- Specified by:
getJobSubmissionState in class OpenDreamsJobTemplate
setJobSubmissionState
public void setJobSubmissionState(JobSubmissionState state)
- Specified by:
setJobSubmissionState in class OpenDreamsJobTemplate
getJobCategory
public String getJobCategory()
- Specified by:
getJobCategory in class OpenDreamsJobTemplate
setJobCategory
public void setJobCategory(String jobCategory)
- Specified by:
setJobCategory in class OpenDreamsJobTemplate
getEmail
public String[] getEmail()
- Specified by:
getEmail in class OpenDreamsJobTemplate
setEmail
public void setEmail(String[] email)
- Specified by:
setEmail in class OpenDreamsJobTemplate
getBlockEmail
public boolean getBlockEmail()
- Specified by:
getBlockEmail in class OpenDreamsJobTemplate
setBlockEmail
public void setBlockEmail(boolean blockEmail)
- Specified by:
setBlockEmail in class OpenDreamsJobTemplate
getErrorPath
public String getErrorPath()
- Specified by:
getErrorPath in class OpenDreamsJobTemplate
getJoinFiles
public boolean getJoinFiles()
- Specified by:
getJoinFiles in class OpenDreamsJobTemplate
getOutputPath
public String getOutputPath()
- Specified by:
getOutputPath in class OpenDreamsJobTemplate
getTransferFiles
public FileTransferMode getTransferFiles()
- Specified by:
getTransferFiles in class OpenDreamsJobTemplate
setErrorPath
public void setErrorPath(String errorPath)
- Specified by:
setErrorPath in class OpenDreamsJobTemplate
setJoinFiles
public void setJoinFiles(boolean joinFiles)
- Specified by:
setJoinFiles in class OpenDreamsJobTemplate
setOutputPath
public void setOutputPath(String outputPath)
- Specified by:
setOutputPath in class OpenDreamsJobTemplate
setTransferFiles
public void setTransferFiles(FileTransferMode transferFiles)
- Specified by:
setTransferFiles in class OpenDreamsJobTemplate
attributeNames
public String[] attributeNames()
- Specified by:
attributeNames in class JobTemplate
getJobDescription
public String getJobDescription()
- Specified by:
getJobDescription in class OpenDreamsJobTemplate
getJobPriority
public short getJobPriority()
- Specified by:
getJobPriority in class OpenDreamsJobTemplate
setJobDescription
public void setJobDescription(String jobDescription)
- Specified by:
setJobDescription in class OpenDreamsJobTemplate
setJobPriority
public void setJobPriority(short jobPriority)
- Specified by:
setJobPriority in class OpenDreamsJobTemplate
getNumberOfProcesses
public int getNumberOfProcesses()
- Specified by:
getNumberOfProcesses in class OpenDreamsJobTemplate
setNumberOfProcesses
public void setNumberOfProcesses(int numberOfProcesses)
- Specified by:
setNumberOfProcesses in class OpenDreamsJobTemplate
Tecgraf PUC-Rio