From 1b7cc37d52ef03d11699a67342765967e9fa5957 Mon Sep 17 00:00:00 2001 From: Tim Ward Date: Thu, 9 Sep 2021 12:50:01 +0100 Subject: [PATCH] Fix JavaDoc ahead of creating a first release --- .../remote/api/RemoteEventMonitor.java | 30 +++++++++---------- .../remoteservices/spi/RemoteEventBus.java | 4 ++- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/src/main/java/org/apache/aries/typedevent/remote/api/RemoteEventMonitor.java b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/src/main/java/org/apache/aries/typedevent/remote/api/RemoteEventMonitor.java index 0bbcf9c..1f0a791 100644 --- a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/src/main/java/org/apache/aries/typedevent/remote/api/RemoteEventMonitor.java +++ b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/src/main/java/org/apache/aries/typedevent/remote/api/RemoteEventMonitor.java @@ -36,13 +36,13 @@ public interface RemoteEventMonitor { * In some cases this may be more optimal than adding your own filter to the returned * PushStream. * - * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#eventType} - * field is available with the key -eventType and the - * {@link RemoteMonitorEvent#publishType} field is available with the key - * -publishType, in addition to fields defined in the event. + * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#publishType} + * field is available with the key -publishType, in addition to fields + * defined in the event. + *

* If the event contains nested data structures then those are accessible using * nested key names separated by a '.' character (e.g. "foo.bar" - * would correspond to the bar field of the foo value + * would correspond to the bar field of the foo value * from the event. *

* If a {@link FilterDTO} contains both LDAP and regular expressions, then both must match. @@ -61,13 +61,13 @@ public interface RemoteEventMonitor { * may be returned if history is unavailable, or if * insufficient events have been sent. * - * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#eventType} - * field is available with the key -eventType and the - * {@link RemoteMonitorEvent#publishType} field is available with the key - * -publishType, in addition to fields defined in the event. + * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#publishType} + * field is available with the key -publishType, in addition to fields + * defined in the event. + *

* If the event contains nested data structures then those are accessible using * nested key names separated by a '.' character (e.g. "foo.bar" - * would correspond to the bar field of the foo value + * would correspond to the bar field of the foo value * from the event. *

* If a {@link FilterDTO} contains both LDAP and regular expressions, then both must match. @@ -87,13 +87,13 @@ public interface RemoteEventMonitor { * that events may have been discarded, or history * unavailable. * - * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#eventType} - * field is available with the key -eventType and the - * {@link RemoteMonitorEvent#publishType} field is available with the key - * -publishType, in addition to fields defined in the event. + * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#publishType} + * field is available with the key -publishType, in addition to fields + * defined in the event. + *

* If the event contains nested data structures then those are accessible using * nested key names separated by a '.' character (e.g. "foo.bar" - * would correspond to the bar field of the foo value + * would correspond to the bar field of the foo value * from the event. *

* If a {@link FilterDTO} contains both LDAP and regular expressions, then both must match. diff --git a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/spi/RemoteEventBus.java b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/spi/RemoteEventBus.java index 2c0336e..085ffa1 100644 --- a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/spi/RemoteEventBus.java +++ b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/spi/RemoteEventBus.java @@ -30,13 +30,15 @@ public interface RemoteEventBus { /** - * This service property provides a String+ containing = + * This service property provides a String+ containing <topic>=<filter> * entries indicating the events that the remote nodes are interested in. */ public static final String REMOTE_EVENT_FILTERS = "remote.event.filters"; /**    * Called to notify this instance of an event from a remote framework + * @param topic The topic + * @param eventData The untyped event data */ public void notify(String topic, Map eventData); }