|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eu.unicore.hila.job.model.JobModel
public class JobModel
A convenience class to help build JSDL documents. Instantiate an object of this class and use the set and add methods to set or add
Constructor Summary | |
---|---|
JobModel()
|
Method Summary | |
---|---|
void |
addArgument(String argument)
|
void |
addEnvironment(String variable,
String value)
|
void |
addExport(File _localFile)
|
void |
addExport(String _fileName,
File _localFile)
An Export from the working directory of the job to the local file system. |
void |
addImport(File _localFile)
|
void |
addImport(File _localFile,
String _filename)
Import local file into the job's working directory before the job starts. |
void |
addJobAnnotation(String _annotation)
|
void |
addJobProject(String _project)
|
void |
addStageIn(StageIn stageIn)
|
void |
addStageOut(StageOut stageout)
|
String |
getApplicationDescription()
|
String |
getApplicationName()
Get the name of the application currently defined. |
String |
getApplicationVersion()
Get the version of the application to be used. |
List<String> |
getArguments()
|
Map<String,String> |
getEnvironment()
|
String |
getExecutable()
|
List<Export> |
getExports()
Get the List of Export s already defined. |
List<Import> |
getImports()
Get the List of Import s already defined. |
List<String> |
getJobAnnotations()
|
String |
getJobDescription()
|
long |
getLastModified()
|
org.ggf.schemas.jsdl.x2005.x11.jsdl.ResourcesType |
getResources()
|
List<StageIn> |
getStageIns()
|
List<StageOut> |
getStageOuts()
|
String |
getStderr()
|
String |
getStdin()
|
String |
getStdout()
|
String |
getTaskName()
|
boolean |
isClientDataPush()
|
void |
setApplicationDescription(String _applicationDescription)
|
void |
setApplicationName(String applicationName)
Set the name of the application to be used. |
void |
setApplicationVersion(String applicationVersion)
Set the version of the application to be used. |
void |
setArguments(List<String> arguments)
|
void |
setClientDataPush(boolean clientDataPush)
|
void |
setEnvironment(Map<String,String> environment)
|
void |
setExecutable(String executable)
|
void |
setExports(List<Export> exports)
Set the list of Export s. |
void |
setImports(List<Import> imports)
Set the List of Import s. |
void |
setJobDescription(String _description)
|
void |
setResources(org.ggf.schemas.jsdl.x2005.x11.jsdl.ResourcesType _resources)
|
void |
setStderr(String stderr)
|
void |
setStdin(String stdin)
|
void |
setStdout(String stdout)
|
void |
setTaskName(String _taskName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobModel()
Method Detail |
---|
public List<Import> getImports()
List
of Import
s already defined.
public void setImports(List<Import> imports)
List
of Import
s.
imports
- public long getLastModified()
public List<Export> getExports()
List
of Export
s already defined.
public void setExports(List<Export> exports)
Export
s.
exports
- public String getApplicationName()
null
otherwise.public void setApplicationName(String applicationName)
applicationName
- public String getApplicationVersion()
null
otherwise.public void setApplicationVersion(String applicationVersion)
applicationVersion
- public void setApplicationDescription(String _applicationDescription)
_applicationDescription
- public String getApplicationDescription()
public String getExecutable()
public void setExecutable(String executable)
public List<String> getArguments()
public void setArguments(List<String> arguments)
public Map<String,String> getEnvironment()
public void setEnvironment(Map<String,String> environment)
public void setResources(org.ggf.schemas.jsdl.x2005.x11.jsdl.ResourcesType _resources)
public org.ggf.schemas.jsdl.x2005.x11.jsdl.ResourcesType getResources()
public void addArgument(String argument)
public void addEnvironment(String variable, String value)
public void addExport(String _fileName, File _localFile)
_fileName
- _localFile
- public void addExport(File _localFile)
_localFile
- public void addImport(File _localFile, String _filename)
_localFile
- _filename
- public void addImport(File _localFile)
_localFile
- addImport(File, String)
public String getTaskName()
public void setTaskName(String _taskName)
public void addJobAnnotation(String _annotation)
_annotation
- public List<String> getJobAnnotations()
public void setJobDescription(String _description)
_description
- public String getJobDescription()
public void addJobProject(String _project)
project
- public List<StageOut> getStageOuts()
public List<StageIn> getStageIns()
public void addStageOut(StageOut stageout)
stageout
- public void addStageIn(StageIn stageIn)
stageIn
- public String getStdout()
public void setStdout(String stdout)
stdout
- the stdout to setpublic String getStderr()
public void setStderr(String stderr)
stderr
- the stderr to setpublic String getStdin()
public void setStdin(String stdin)
stdin
- the stdin to setpublic boolean isClientDataPush()
public void setClientDataPush(boolean clientDataPush)
clientDataPush
- the clientDataPush to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |