comparison src/org/tmatesoft/hg/core/HgLogCommand.java @ 402:1fcc7f7b6d65

FIXMEs/javadoc
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 27 Feb 2012 19:38:44 +0100
parents 0ae53c32ecef
children 2747b0723867
comparison
equal deleted inserted replaced
401:a57a21aa4190 402:1fcc7f7b6d65
196 } 196 }
197 return collector.getChanges(); 197 return collector.getChanges();
198 } 198 }
199 199
200 /** 200 /**
201 * Iterate over range of changesets configured in the command.
201 * 202 *
202 * @param handler callback to process changesets. 203 * @param handler callback to process changesets.
203 * @throws HgCallbackTargetException to re-throw exception from the handler 204 * @throws HgCallbackTargetException to re-throw exception from the handler
204 * @throws HgException FIXME EXCEPTIONS 205 * @throws HgInvalidControlFileException if access to revlog index/data entry failed
206 * @throws HgException in case of some other library issue
205 * @throws CancelledException if execution of the command was cancelled 207 * @throws CancelledException if execution of the command was cancelled
206 * @throws IllegalArgumentException when inspector argument is null 208 * @throws IllegalArgumentException when inspector argument is null
207 * @throws ConcurrentModificationException if this log command instance is already running 209 * @throws ConcurrentModificationException if this log command instance is already running
208 */ 210 */
209 public void execute(HgChangesetHandler handler) throws HgCallbackTargetException, HgException, CancelledException { 211 public void execute(HgChangesetHandler handler) throws HgCallbackTargetException, HgException, CancelledException {
258 progressHelper.done(); 260 progressHelper.done();
259 } 261 }
260 } 262 }
261 263
262 /** 264 /**
263 * TODO documentation 265 * Tree-wise iteration of a file history, with handy access to parent-child relations between changesets.
264 * @param handler 266 *
267 * @param handler callback to process changesets.
265 * @throws HgCallbackTargetException to re-throw exception from the handler 268 * @throws HgCallbackTargetException to re-throw exception from the handler
266 * @throws HgException FIXME EXCEPTIONS 269 * @throws HgInvalidControlFileException if access to revlog index/data entry failed
270 * @throws HgException in case of some other library issue
267 * @throws CancelledException if execution of the command was cancelled 271 * @throws CancelledException if execution of the command was cancelled
272 * @throws IllegalArgumentException if command is not satisfied with its arguments
273 * @throws ConcurrentModificationException if this log command instance is already running
268 */ 274 */
269 public void execute(HgChangesetTreeHandler handler) throws HgCallbackTargetException, HgException, CancelledException { 275 public void execute(HgChangesetTreeHandler handler) throws HgCallbackTargetException, HgException, CancelledException {
270 if (handler == null) { 276 if (handler == null) {
271 throw new IllegalArgumentException(); 277 throw new IllegalArgumentException();
272 } 278 }