class PDSGetJobStatusService {

    @UseCaseUserFetchesJobStatus(@PDSStep(name="service call",description = "returns job status",number=2))
    public PDSJobStatus getJobStatus(UUID jobUUID) {
        notNull(jobUUID, "job uuid may not be null!");
        
        PDSJob job = assertJobFound(jobUUID,repository);
        
        return new PDSJobStatus(job);
    }

}