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
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-2012 Apache OODT. All Rights Reserved.