private ModelNode patchIdInfo(final OperationContext context, final String patchId, final boolean verbose, final PatchingHistory.Iterator i) { while(i.hasNext()) { final Entry entry = i.next(); if(patchId.equals(entry.getPatchId())) {
private ModelNode patchIdInfo(final OperationContext context, final String patchId, final boolean verbose, final PatchingHistory.Iterator i) { while(i.hasNext()) { final Entry entry = i.next(); if(patchId.equals(entry.getPatchId())) {
try { final PatchingHistory.Iterator iterator = history.iterator(); while(iterator.hasNext()) { final Entry next = iterator.next(); if(patchId.equals(next.getPatchId())) {
try { final PatchingHistory.Iterator iterator = history.iterator(); while(iterator.hasNext()) { final Entry next = iterator.next(); if(patchId.equals(next.getPatchId())) {
i.nextCP(); while(i.hasNext()) { final PatchingHistory.Entry entry = i.next(); final Map<String, String> layerPatches = entry.getLayerPatches();
i.nextCP(); while(i.hasNext()) { final PatchingHistory.Entry entry = i.next(); final Map<String, String> layerPatches = entry.getLayerPatches();
/** * Goes back in rollback history adding the patch id and it's application timestamp * to the resulting list. */ private static void fillHistoryIn(InstalledIdentity installedImage, PatchableTarget.TargetInfo info, ModelNode result, boolean excludeAgedOut) throws PatchingException { final Iterator i = iterator(installedImage, info, excludeAgedOut); while(i.hasNext()) { final Entry next = i.next(); fillHistoryIn(result, next); } }
/** * Goes back in rollback history adding the patch id and it's application timestamp * to the resulting list. */ private static void fillHistoryIn(InstalledIdentity installedImage, PatchableTarget.TargetInfo info, ModelNode result, boolean excludeAgedOut) throws PatchingException { final Iterator i = iterator(installedImage, info, excludeAgedOut); while(i.hasNext()) { final Entry next = i.next(); fillHistoryIn(result, next); } }