From edd7ccac40502b42f72ca440edb65f185f008927 Mon Sep 17 00:00:00 2001 From: luccioman Date: Tue, 2 May 2017 09:33:11 +0200 Subject: [PATCH] Added some JavaDoc --- source/net/yacy/document/importer/Importer.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/source/net/yacy/document/importer/Importer.java b/source/net/yacy/document/importer/Importer.java index efcd6734e..7a83d834d 100644 --- a/source/net/yacy/document/importer/Importer.java +++ b/source/net/yacy/document/importer/Importer.java @@ -24,9 +24,14 @@ package net.yacy.document.importer; public interface Importer extends Runnable { - + /** + * @return the import source information (URL or file name) + */ public String source(); + /** + * @return the total number of processed articles + */ public int count(); /** @@ -47,6 +52,9 @@ public interface Importer extends Runnable { public String status(); + /** + * @return true when the import thread is alive + */ public boolean isAlive(); public void start();