public List<ApplicationJobStatusData> getApplicationJobStatusHistory(
String jobId) throws RegistryException {
List<ApplicationJobStatusData> statusData=new ArrayList<ApplicationJobStatusData>();
List<GFacJobStatusResource> statuses = jpa.getWorker().getGFacJobStatuses(jobId);
for (GFacJobStatusResource resource : statuses) {
statusData.add(new ApplicationJobStatusData(resource.getLocalJobID(),ApplicationJobStatus.valueOf(resource.getStatus()),resource.getStatusUpdateTime()));
}
return statusData;
}