use of org.apache.airavata.registry.core.experiment.catalog.ExperimentCatResource in project airavata by apache.
the class ExperimentResource method getExperimentErrors.
public List<ExperimentErrorResource> getExperimentErrors() throws RegistryException {
List<ExperimentErrorResource> experimentErrorResources = new ArrayList();
List<ExperimentCatResource> resources = get(ResourceType.EXPERIMENT_ERROR);
for (ExperimentCatResource resource : resources) {
ExperimentErrorResource errorResource = (ExperimentErrorResource) resource;
experimentErrorResources.add(errorResource);
}
return experimentErrorResources;
}
Aggregations