/** * 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 iterator(info, false). * * @param info the point to start from * @return iterator over the patching history * @throws PatchingException in case there was an error loading the history */ default Iterator iterator(final PatchableTarget.TargetInfo info) throws PatchingException { return iterator(info, false); }
/** * Is equivalent to iterator(info, false). * * @param info the point to start from * @return iterator over the patching history * @throws PatchingException in case there was an error loading the history */ default Iterator iterator(final PatchableTarget.TargetInfo info) throws PatchingException { return iterator(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 iterator(false). * * @return iterator over the patching history * * @throws PatchingException in case there was an error loading the history */ default Iterator iterator() throws PatchingException { return iterator(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 iterator(false). * * @return iterator over the patching history * * @throws PatchingException in case there was an error loading the history */ default Iterator iterator() throws PatchingException { return iterator(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); }
final PatchingHistory.Iterator iterator = history.iterator(); while(iterator.hasNext()) { final Entry next = iterator.next();
@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; }
final PatchingHistory.Iterator iterator = history.iterator(); while(iterator.hasNext()) { final Entry next = iterator.next();
@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; }
void reenableNotOverridenModules(final RollbackPatch patch, IdentityPatchContext context) throws PatchingException, IOException, XMLStreamException { assert patch.getIdentity().getPatchType() == Patch.PatchType.CUMULATIVE; final Iterator historyIterator = context.getHistory().iterator(patch.getIdentityState().getIdentity().loadTargetInfo()); if(!historyIterator.hasNext()) { return;
void reenableNotOverridenModules(final RollbackPatch patch, IdentityPatchContext context) throws PatchingException, IOException, XMLStreamException { assert patch.getIdentity().getPatchType() == Patch.PatchType.CUMULATIVE; final Iterator historyIterator = context.getHistory().iterator(patch.getIdentityState().getIdentity().loadTargetInfo()); if(!historyIterator.hasNext()) { return;
final PatchingHistory.Iterator iterator = history.iterator(); while (iterator.hasNextCP()) { final PatchingHistory.Entry entry = iterator.nextCP();
final PatchingHistory.Iterator iterator = history.iterator(); while (iterator.hasNextCP()) { final PatchingHistory.Entry entry = iterator.nextCP();