}
return computeResourceFileSystemResource;
}
private static Resource createBatchQueue(BatchQueue o) {
BatchQueueResource batchQueueResource = new BatchQueueResource();
if (o != null){
batchQueueResource.setComputeResourceId(o.getComputeResourceId());
batchQueueResource.setComputeHostResource((ComputeResourceResource)createComputeResource(o.getComputeResource()));
batchQueueResource.setMaxRuntime(o.getMaxRuntime());
batchQueueResource.setMaxJobInQueue(o.getMaxJobInQueue());
batchQueueResource.setQueueDescription(o.getQueueDescription());
batchQueueResource.setQueueName(o.getQueueName());
batchQueueResource.setMaxProcessors(o.getMaxProcessors());
batchQueueResource.setMaxNodes(o.getMaxNodes());
}
return batchQueueResource;
}