org.apache.oodt.cas.resource.jobrepo
Interface JobRepository

All Known Implementing Classes:
MemoryJobRepository, XStreamJobRepository

public interface JobRepository

Version:
$Revision$

An interface for persisting JobSpecs

.
Author:
mattmann

Method Summary
 String addJob(JobSpec spec)
           
 JobSpec getJobById(String jobId)
           
 String getStatus(JobSpec spec)
           
 boolean jobFinished(JobSpec spec)
           
 void removeJob(JobSpec spec)
           
 void updateJob(JobSpec spec)
           
 

Method Detail

addJob

String addJob(JobSpec spec)
              throws JobRepositoryException
Throws:
JobRepositoryException

updateJob

void updateJob(JobSpec spec)
               throws JobRepositoryException
Throws:
JobRepositoryException

removeJob

void removeJob(JobSpec spec)
               throws JobRepositoryException
Throws:
JobRepositoryException

getJobById

JobSpec getJobById(String jobId)
                   throws JobRepositoryException
Throws:
JobRepositoryException

getStatus

String getStatus(JobSpec spec)
                 throws JobRepositoryException
Throws:
JobRepositoryException

jobFinished

boolean jobFinished(JobSpec spec)
                    throws JobRepositoryException
Throws:
JobRepositoryException


Copyright © 1999-2013
Apache OODT. All Rights Reserved.