diff --git a/bindings/java/org/collectd/api/CollectdMatchFactoryInterface.java b/bindings/java/org/collectd/api/CollectdMatchFactoryInterface.java
index d2801a1f34db71818f0f7e3e7eacf83a9b8a1e68..7b1c71a470d4f441a68a69c9fb5740ab9c1addb6 100644 (file)
*/
public interface CollectdMatchFactoryInterface
{
+ /**
+ * Create a new "match" object.
+ *
+ * This method uses the configuration provided as argument to create a
+ * new object which must implement the {@link CollectdMatchInterface}
+ * interface.
+ *
+ * This function corresponds to the <code>create</code> member of the
+ * <code>src/filter_chain.h:match_proc_t</code> struct.
+ *
+ * @return New {@link CollectdMatchInterface} object.
+ */
public CollectdMatchInterface createMatch (OConfigItem ci);
}