private static List<ModelNode> getPatches(PatchOperationTarget target, String stream) throws PatchingException { PatchOperationBuilder history = PatchOperationBuilder.Factory.history(stream); ModelNode resp = history.execute(target); ModelNode res = resp.get(ModelDescriptionConstants.RESULT); return res.asList(); }
private static List<ModelNode> getPatches(PatchOperationTarget target, String stream) throws PatchingException { PatchOperationBuilder history = PatchOperationBuilder.Factory.history(stream); ModelNode resp = history.execute(target); ModelNode res = resp.get(ModelDescriptionConstants.RESULT); return res.asList(); }
} else if (HISTORY.equals(action)) { final String patchStream = this.patchStream.getValue(args); builder = PatchOperationBuilder.Factory.history(patchStream, excludeAgedOut.isPresent(args)); return builder; } else {
} else if (HISTORY.equals(action)) { final String patchStream = this.patchStream.getValue(args); builder = PatchOperationBuilder.Factory.history(patchStream, excludeAgedOut.isPresent(args)); return builder; } else {
public static PatchOperationBuilder history(final String patchStream) { return history(patchStream, false); }
public static PatchOperationBuilder history(final String patchStream) { return history(patchStream, false); }
/** * Get the patching history. * * @return the patching history */ public static PatchOperationBuilder history() { return history(null); }
@Override protected PatchOperationBuilder createPatchOperationBuilder(CommandContext ctx) throws CommandException { return PatchOperationBuilder.Factory.history(patchStream, excludeAgedOut); }
/** * Get the patching history. * * @return the patching history */ public static PatchOperationBuilder history() { return history(null); }
@Override protected PatchOperationBuilder createPatchOperationBuilder(CommandContext ctx) throws CommandException { return PatchOperationBuilder.Factory.history(patchStream, excludeAgedOut); }