changeset 241:d3ab16739736

Some javadoc
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 23 Jun 2011 15:16:34 +0200
parents 29231022fec8
children ad6a046943be
files src/org/tmatesoft/hg/internal/Lifecycle.java
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/Lifecycle.java	Thu Jun 23 13:32:23 2011 +0200
+++ b/src/org/tmatesoft/hg/internal/Lifecycle.java	Thu Jun 23 15:16:34 2011 +0200
@@ -23,11 +23,24 @@
  * @author Artem Tikhomirov
  * @author TMate Software Ltd.
  */
+@Experimental(reason="Experimenting whether such approach pays off")
 public interface Lifecycle {
 
+	/**
+	 * @param count approximate number of iterations.
+	 * @param callback callback to communicate with RevlogStream (now to stop iteration only)
+	 * @param token identifier of the process
+	 */
 	public void start(int count, Callback callback, Object token);
+
+	/**
+	 * @param token identifier of the process, identical to the one passed in {@link #start(int, Callback, Object)} of this iteration
+	 */
 	public void finish(Object token);
 
+	/**
+	 * Access to RevlogStream facilities.
+	 */
 	interface Callback {
 		void stop();
 	}