X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=bindings%2Fjava%2Forg%2Fcollectd%2Fapi%2FCollectdMatchFactoryInterface.java;h=7b1c71a470d4f441a68a69c9fb5740ab9c1addb6;hb=59c7ee1cafaf53814838794908dd84f8101334c7;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); }