X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=bindings%2Fjava%2Forg%2Fcollectd%2Fapi%2FCollectdMatchFactoryInterface.java;h=7b1c71a470d4f441a68a69c9fb5740ab9c1addb6;hb=8f40e8dacad2bfcb9d659e12740aa3ebc15ada65;hp=d2801a1f34db71818f0f7e3e7eacf83a9b8a1e68;hpb=06b30142eb87918f59ca64a4eea8dc51ed299f34;p=collectd.git
diff --git a/bindings/java/org/collectd/api/CollectdMatchFactoryInterface.java b/bindings/java/org/collectd/api/CollectdMatchFactoryInterface.java
index d2801a1f..7b1c71a4 100644
--- a/bindings/java/org/collectd/api/CollectdMatchFactoryInterface.java
+++ b/bindings/java/org/collectd/api/CollectdMatchFactoryInterface.java
@@ -33,5 +33,17 @@ package org.collectd.api;
*/
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 create
member of the
+ * src/filter_chain.h:match_proc_t
struct.
+ *
+ * @return New {@link CollectdMatchInterface} object.
+ */
public CollectdMatchInterface createMatch (OConfigItem ci);
}