g-Eclipse
Release 1.0.0

eu.geclipse.core.model.impl
Class AbstractGridJobCreator

java.lang.Object
  extended by eu.geclipse.core.model.impl.AbstractGridElementCreator
      extended by eu.geclipse.core.model.impl.AbstractGridJobCreator
All Implemented Interfaces:
IGridElementCreator, IGridJobCreator
Direct Known Subclasses:
GridJobCreator

public abstract class AbstractGridJobCreator
extends AbstractGridElementCreator
implements IGridJobCreator

Abstract implementation of the IGridJobCreator interface that delegates the canCreate(IGridJobDescription) method to an internal one and handles the storage of the argument of this function.


Constructor Summary
AbstractGridJobCreator()
           
 
Method Summary
 boolean canCreate(IGridJobDescription description)
          Test if this creator can create a job from the specified job description.
 IGridJobDescription getDescription()
          Get the job description from the last successful call of the canCreate(IGridJobDescription) method.
 
Methods inherited from class eu.geclipse.core.model.impl.AbstractGridElementCreator
create, getSource, setSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.geclipse.core.model.IGridJobCreator
create
 
Methods inherited from interface eu.geclipse.core.model.IGridElementCreator
create, create, getSource, setSource
 

Constructor Detail

AbstractGridJobCreator

public AbstractGridJobCreator()
Method Detail

canCreate

public boolean canCreate(IGridJobDescription description)
Description copied from interface: IGridJobCreator
Test if this creator can create a job from the specified job description.

Specified by:
canCreate in interface IGridJobCreator
Parameters:
description - The description from which to create the job.
Returns:
True if a job can be created from the specified description.

getDescription

public IGridJobDescription getDescription()
Get the job description from the last successful call of the canCreate(IGridJobDescription) method.

Returns:
The argument of the last successful call of the canCreate(IGridJobDescription) method.

g-Eclipse
Release 1.0.0