jsi.setPriorityOrder(resource.getPriorityOrder());
return jsi;
}
public static BatchQueue getBatchQueue(BatchQueueResource resource){
BatchQueue batchQueue = new BatchQueue();
batchQueue.setMaxJobsInQueue(resource.getMaxJobInQueue());
batchQueue.setMaxNodes(resource.getMaxNodes());
batchQueue.setMaxProcessors(resource.getMaxProcessors());
batchQueue.setMaxRunTime(resource.getMaxRuntime());
batchQueue.setQueueDescription(resource.getQueueDescription());
batchQueue.setQueueName(resource.getQueueName());
return batchQueue;
}