eu.unicore.hila.grid
Interface Submittable

All Superinterfaces:
eu.unicore.hila.Resource
All Known Subinterfaces:
Site

public interface Submittable
extends eu.unicore.hila.Resource

This interface represents something which you can submit(JobModel) to. This would typically be a Site, but can be something else as well. For example, one could submit to Grid and rely on a broker to assing the Job to a Site. Alternatively, one could submit to a broker, if that was a defined Resource.

Author:
bjoernh 14.08.2009 14:39:35

Method Summary
 Job getTask(String _taskId)
          Retrieve a particular Job that has been submitted to this Submittable.
 List<Job> getTasks()
          The List of Jobs that have been submitted to this Submittable.
 Job submit(JobDescription _jd)
          Deprecated. in favor of the abstract JobModel
 Job submit(eu.unicore.hila.job.model.JobModel _jd)
          Submit the given JobModel to the Submittable Resource.
 
Methods inherited from interface eu.unicore.hila.Resource
getChild, getChildren, getLocation, getMetadata, getName, getParent, ok
 

Method Detail

submit

Job submit(eu.unicore.hila.job.model.JobModel _jd)
           throws eu.unicore.hila.exceptions.HiLAException
Submit the given JobModel to the Submittable Resource.

Parameters:
_jd -
Returns:
Throws:
eu.unicore.hila.exceptions.HiLAException
Since:
2.3

submit

Job submit(JobDescription _jd)
           throws eu.unicore.hila.exceptions.HiLAException
Deprecated. in favor of the abstract JobModel

Submit the given JobDescription to the Submittable Resource.

Parameters:
_jd -
Returns:
Throws:
eu.unicore.hila.exceptions.HiLAException

getTasks

List<Job> getTasks()
                   throws eu.unicore.hila.exceptions.HiLAException
The List of Jobs that have been submitted to this Submittable.

Returns:
Throws:
eu.unicore.hila.exceptions.HiLAException

getTask

Job getTask(String _taskId)
            throws eu.unicore.hila.exceptions.HiLAException
Retrieve a particular Job that has been submitted to this Submittable.

Parameters:
_taskId -
Returns:
Throws:
eu.unicore.hila.exceptions.HiLAException


Copyright © 2010-2013 UNICORE. All Rights Reserved.