private void displayQueueList() throws IOException { JobQueueInfo[] rootQueues = jc.getRootQueues(); for (JobQueueInfo queue : rootQueues) { printJobQueueInfo(queue, new PrintWriter(new OutputStreamWriter( System.out, Charsets.UTF_8))); } }
private void displayQueueList() throws IOException { JobQueueInfo[] rootQueues = jc.getRootQueues(); for (JobQueueInfo queue : rootQueues) { printJobQueueInfo(queue, new PrintWriter(new OutputStreamWriter( System.out, Charsets.UTF_8))); } }
private void displayQueueList() throws IOException { JobQueueInfo[] rootQueues = jc.getRootQueues(); for (JobQueueInfo queue : rootQueues) { printJobQueueInfo(queue, new PrintWriter(new OutputStreamWriter( System.out, Charsets.UTF_8))); } }
private void displayQueueList() throws IOException { JobQueueInfo[] rootQueues = jc.getRootQueues(); for (JobQueueInfo queue : rootQueues) { printJobQueueInfo(queue, new PrintWriter(new OutputStreamWriter( System.out, Charsets.UTF_8))); } }
private void displayQueueList() throws IOException { JobQueueInfo[] rootQueues = jc.getRootQueues(); List<JobQueueInfo> allQueues = expandQueueList(rootQueues); for (JobQueueInfo queue : allQueues) { printJobQueueInfo(queue, new PrintWriter(System.out)); } }
assertEquals(client.getSystemDir().getName(), "jobSubmitDir"); JobQueueInfo[] rootQueueInfo = client.getRootQueues(); assertEquals(rootQueueInfo.length, 1); assertEquals(rootQueueInfo[0].getQueueName(), "default");