com.intel.gpe.gridbeans
Interface IGridBean

All Superinterfaces:
IGridBeanModel
All Known Implementing Classes:
AbstractGridBean

public interface IGridBean
extends IGridBeanModel

The generic GridBean

Version:
$Id: IGridBean.java,v 1.7 2006/07/21 08:47:15 lukichev Exp $
Author:
Alexander Lukichev

Field Summary
static javax.xml.namespace.QName JOBNAME
          The standard name for the job identification parameter
static javax.xml.namespace.QName STATUS
          The standard name for the job status parameter
 
Method Summary
 java.util.List<GridBeanParameter> getInputParameters()
           
 java.lang.String getName()
           
 java.util.List<GridBeanParameter> getOutputParameters()
           
 void parseJobDefinition(com.intel.gpe.clients.api.Job job)
          Parse the job document and set the values in the model.
 void parseJobDefinition(com.intel.gpe.clients.api.Job job, com.intel.gpe.clients.api.JobClient jobClient)
          Parse job document and set the values in the model.
 void setupJobDefinition(com.intel.gpe.clients.api.Job job)
          Setup the JSDL of the job to submit with the values containing in the GridBeanModel
 
Methods inherited from interface com.intel.gpe.gridbeans.IGridBeanModel
get, keySet, set
 

Field Detail

JOBNAME

static final javax.xml.namespace.QName JOBNAME
The standard name for the job identification parameter


STATUS

static final javax.xml.namespace.QName STATUS
The standard name for the job status parameter

Method Detail

getInputParameters

java.util.List<GridBeanParameter> getInputParameters()
Returns:
The set of input parameters

getOutputParameters

java.util.List<GridBeanParameter> getOutputParameters()
Returns:
The set of output parameters

setupJobDefinition

void setupJobDefinition(com.intel.gpe.clients.api.Job job)
                        throws GridBeanException
Setup the JSDL of the job to submit with the values containing in the GridBeanModel

Parameters:
job - The job document to setup
Throws:
GridBeanException

parseJobDefinition

void parseJobDefinition(com.intel.gpe.clients.api.Job job)
                        throws GridBeanException
Parse the job document and set the values in the model. This method is used to restore the model from the state stored in XML.

Parameters:
job - The job to parse
Throws:
GridBeanException

parseJobDefinition

void parseJobDefinition(com.intel.gpe.clients.api.Job job,
                        com.intel.gpe.clients.api.JobClient jobClient)
                        throws GridBeanException
Parse job document and set the values in the model. The additional parameter is the client to the actual job resource. This method is called whenever "fetch outcome" or "reconstruct input" actions are performed.

Parameters:
job - - the job document to parse
jobClient - - the client to the job resource
Throws:
GridBeanException

getName

java.lang.String getName()
Returns:
The name of the GridBean


Copyright © 2008. All Rights Reserved.