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())) { final ModelNode result = new ModelNode();
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())) { final ModelNode result = new ModelNode();
final PatchingHistory.Iterator iterator = history.iterator(); while(iterator.hasNext()) { final Entry next = iterator.next(); if(patchId.equals(next.getPatchId())) { final ModelNode response = new ModelNode();
final Entry entry = historyIterator.next(); if(entry.getType() == PatchType.CUMULATIVE) { prevCP = entry.getMetadata();
final Entry entry = historyIterator.next(); if(entry.getType() == PatchType.CUMULATIVE) { prevCP = entry.getMetadata();
final PatchingHistory.Iterator iterator = history.iterator(); while(iterator.hasNext()) { final Entry next = iterator.next(); if(patchId.equals(next.getPatchId())) { final ModelNode response = new ModelNode();
final PatchingHistory.Entry entry = i.next(); final Map<String, String> layerPatches = entry.getLayerPatches(); final List<DeleteOp> ops = new ArrayList<>();
final PatchingHistory.Entry entry = i.next(); final Map<String, String> layerPatches = entry.getLayerPatches(); final List<DeleteOp> ops = new ArrayList<>();
/** * 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); } }