@Override protected ModelNode history(String streamName, boolean excludeAgedOut) { final ModelNode result = new ModelNode(); result.get(OUTCOME).set(SUCCESS); try { result.get(RESULT).set(tool.getPatchingHistory(streamName).getHistory(excludeAgedOut)); } catch (PatchingException e) { return formatFailedResponse(e); } return result; }
@Override protected ModelNode history(String streamName, boolean excludeAgedOut) { final ModelNode result = new ModelNode(); result.get(OUTCOME).set(SUCCESS); try { result.get(RESULT).set(tool.getPatchingHistory(streamName).getHistory(excludeAgedOut)); } catch (PatchingException e) { return formatFailedResponse(e); } return result; }
throw new IllegalArgumentException("patchId is null"); final PatchingHistory history = tool.getPatchingHistory(streamName); try { final PatchingHistory.Iterator iterator = history.iterator();
throw new IllegalArgumentException("patchId is null"); final PatchingHistory history = tool.getPatchingHistory(streamName); try { final PatchingHistory.Iterator iterator = history.iterator();