com.intel.gpe.clients.api.jsdl.gpe
Interface GPEJob

All Superinterfaces:
Job, JSDLJob

public interface GPEJob
extends JSDLJob

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.

Version:
$Id: GPEJob.java,v 1.8 2006/08/15 13:22:34 lukichev Exp $
Author:
Alexander Lukichev

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.
 
Methods inherited from interface com.intel.gpe.clients.api.jsdl.JSDLJob
addDataStagingExportElement, addDataStagingImportElement, addExtensionElement, getCPUArchitectureRequirements, getDataStagingExportElements, getDataStagingImportElements, getExclusiveExecutionRequirements, getExtensionElement, getId, getIndividualCPUCountRequirements, getIndividualCPUSpeedRequirements, getIndividualDiskSpaceRequirements, getIndividualPhysicalMemoryRequirements, getOperatingSystemRequirements, getTotalCPUCountRequirements, setCPUArchitectureRequirements, setExclusiveExecutionRequirements, setId, setIndividualCPUCountRequirements, setIndividualCPUSpeedRequirements, setIndividualDiskSpaceRequirements, setIndividualPhysicalMemoryRequirements, setOperatingSystemRequirements, setTotalCPUCountRequirements, toByteArray
 

Method Detail

setApplicationName

void setApplicationName(java.lang.String applicationName)
Set the name of the application to run.

Parameters:
applicationName - The name of the application

getApplicationName

java.lang.String getApplicationName()
Returns:
The name of the application

setApplicationVersion

void setApplicationVersion(java.lang.String applicationVersion)
Set the version of the application to run.

Parameters:
applicationVersion - The version of the application

getApplicationVersion

java.lang.String getApplicationVersion()
Returns:
The version of the application.

setWorkingDirectory

void setWorkingDirectory(java.lang.String workingDirectory)
Set the custom value for the working directory of the job. The value $TEMPORARY_DIR forces the working directory name to be automatically generated in the uspaces location.

Parameters:
workingDirectory - The name of the directory

getWorkingDirectory

java.lang.String getWorkingDirectory()
Set the working directory of the job.

Returns:
the working directory of the job

setVariation

void setVariation(java.lang.String variation)
Set the variation of the application incarnation.

Parameters:
variation - The variation

addField

void addField(java.lang.String name,
              java.lang.String value)
Add the field value for the application incarnation.

Parameters:
name - The name of the field
value - The value of the field.

getField

java.lang.String getField(java.lang.String name)
Parameters:
name - The name of the field
Returns:
The value of the field

getVariation

java.lang.String getVariation()
Returns:
The variation

addTextInfoResource

void addTextInfoResource(java.lang.String name,
                         java.lang.String value)
Add the text info resource requirement (GPE extension of JSDL). The TextInfo properties of target systems will be checked against the existence of the corresponding property with the corresponding value.

Parameters:
name - - the name of the text info resource
value - - the value of the text info resource

getStdin

java.lang.String getStdin()
Get stdin file name

Returns:
stdin file name (relative to working directory)

getStdout

java.lang.String getStdout()
Get stdout file name

Returns:
stdout file name (relative to working directory)

getStderr

java.lang.String getStderr()
Get stderr file name

Returns:
stderr file name (relative to working directory)

setStdin

void setStdin(java.lang.String stdin)
Set stdin file name

Parameters:
stdin - - stdin file name (relative to working directory)

setStdout

void setStdout(java.lang.String stdout)
Set stdout file name

Parameters:
stdout - - stdout file name (relative to working directory)

setStderr

void setStderr(java.lang.String stderr)
Set stderr file name

Parameters:
stderr - - stderr file name (relative to working directory)

clone

GPEJob clone()
Clones this GPEJob.

Returns:
cloned job (assignment-compatible with the implementation class)

getOption

java.lang.String getOption(java.lang.String name)
Deprecated. 

Parameters:
name - The name of the option
Returns:
The value of the option

addOption

void addOption(java.lang.String name,
               java.lang.String value)
Deprecated. 

Add the option value for the application incarnation.

Parameters:
name - The name of the option
value - The value of the option


Copyright © 2008. All Rights Reserved.