g-Eclipse
Release 1.0.0

eu.geclipse.core.model
Interface IGridJobCreator

All Superinterfaces:
IGridElementCreator
All Known Implementing Classes:
AbstractGridJobCreator, GridJobCreator

public interface IGridJobCreator
extends IGridElementCreator

Specialised interface for the creation of jobs for the grid. Offers also the possibility for submitting the job.


Method Summary
 boolean canCreate(IGridJobDescription description)
          Test if this creator can create a job from the specified job description.
 IGridJob create(IGridContainer parent, IGridJobID id, IGridJobService jobService, java.lang.String jobName)
          Creates GridJob and add this to GridProjectView.
 
Methods inherited from interface eu.geclipse.core.model.IGridElementCreator
create, create, getSource, setSource
 

Method Detail

canCreate

boolean canCreate(IGridJobDescription description)
Test if this creator can create a job from the specified job description.

Parameters:
description - The description from which to create the job.
Returns:
True if a job can be created from the specified description.

create

IGridJob create(IGridContainer parent,
                IGridJobID id,
                IGridJobService jobService,
                java.lang.String jobName)
                throws ProblemException
Creates GridJob and add this to GridProjectView. This method is called after successful job submission.

Parameters:
parent - - The parent node in GridProjectView
id - - Identifier of job
jobService -
jobName - - name under which job should be stored in the workspace
Returns:
created job
Throws:
ProblemException

g-Eclipse
Release 1.0.0