/** * Is equivalent to getHistory(info, false) * * @param info the point from which to load the history * @return returns a list of entries representing basic info * about the patches applied or an empty list if * there is no patching information * @throws PatchingException in case there was an error loading the history */ default ModelNode getHistory(PatchableTarget.TargetInfo info) throws PatchingException { return getHistory(info, false); }
/** * Is equivalent to getHistory(false). * * @return returns a list of entries representing basic info * about the patches applied or an empty list if * there is no patching information * @throws PatchingException in case there was an error loading the history */ default ModelNode getHistory() throws PatchingException { return getHistory(false); }
/** * Is equivalent to getHistory(info, false) * * @param info the point from which to load the history * @return returns a list of entries representing basic info * about the patches applied or an empty list if * there is no patching information * @throws PatchingException in case there was an error loading the history */ default ModelNode getHistory(PatchableTarget.TargetInfo info) throws PatchingException { return getHistory(info, false); }
/** * Is equivalent to getHistory(false). * * @return returns a list of entries representing basic info * about the patches applied or an empty list if * there is no patching information * @throws PatchingException in case there was an error loading the history */ default ModelNode getHistory() throws PatchingException { return getHistory(false); }
@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; }