|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GPEJob
The abstraction of the GPE-style job definition. The GPE job is represented as JSDL POSIX extension, but the environment elements are used to hold the named job parameters.
Method Summary | |
---|---|
void |
addField(java.lang.String name,
java.lang.String value)
Add the field value for the application incarnation. |
void |
addOption(java.lang.String name,
java.lang.String value)
Deprecated. |
void |
addTextInfoResource(java.lang.String name,
java.lang.String value)
Add the text info resource requirement (GPE extension of JSDL). |
GPEJob |
clone()
Clones this GPEJob. |
java.lang.String |
getApplicationName()
|
java.lang.String |
getApplicationVersion()
|
java.lang.String |
getField(java.lang.String name)
|
java.lang.String |
getOption(java.lang.String name)
Deprecated. |
java.lang.String |
getStderr()
Get stderr file name |
java.lang.String |
getStdin()
Get stdin file name |
java.lang.String |
getStdout()
Get stdout file name |
java.lang.String |
getVariation()
|
java.lang.String |
getWorkingDirectory()
Set the working directory of the job. |
void |
setApplicationName(java.lang.String applicationName)
Set the name of the application to run. |
void |
setApplicationVersion(java.lang.String applicationVersion)
Set the version of the application to run. |
void |
setStderr(java.lang.String stderr)
Set stderr file name |
void |
setStdin(java.lang.String stdin)
Set stdin file name |
void |
setStdout(java.lang.String stdout)
Set stdout file name |
void |
setVariation(java.lang.String variation)
Set the variation of the application incarnation. |
void |
setWorkingDirectory(java.lang.String workingDirectory)
Set the custom value for the working directory of the job. |
Method Detail |
---|
void setApplicationName(java.lang.String applicationName)
applicationName
- The name of the applicationjava.lang.String getApplicationName()
void setApplicationVersion(java.lang.String applicationVersion)
applicationVersion
- The version of the applicationjava.lang.String getApplicationVersion()
void setWorkingDirectory(java.lang.String workingDirectory)
$TEMPORARY_DIR
forces the working directory name
to be automatically generated in the uspaces location.
workingDirectory
- The name of the directoryjava.lang.String getWorkingDirectory()
void setVariation(java.lang.String variation)
variation
- The variationvoid addField(java.lang.String name, java.lang.String value)
name
- The name of the fieldvalue
- The value of the field.java.lang.String getField(java.lang.String name)
name
- The name of the field
java.lang.String getVariation()
void addTextInfoResource(java.lang.String name, java.lang.String value)
name
- - the name of the text info resourcevalue
- - the value of the text info resourcejava.lang.String getStdin()
java.lang.String getStdout()
java.lang.String getStderr()
void setStdin(java.lang.String stdin)
stdin
- - stdin file name (relative to working directory)void setStdout(java.lang.String stdout)
stdout
- - stdout file name (relative to working directory)void setStderr(java.lang.String stderr)
stderr
- - stderr file name (relative to working directory)GPEJob clone()
java.lang.String getOption(java.lang.String name)
name
- The name of the option
void addOption(java.lang.String name, java.lang.String value)
name
- The name of the optionvalue
- The value of the option
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |