|
72 | 72 | * |
73 | 73 | * <p>One of <i>point</i> or <i>points</i> must be set.</p> |
74 | 74 | * |
75 | | - * <p>Measurement name is defined by OSGi event topic if {@link Map} type is used: measure name is fragment after the |
76 | | - * last slash (<tt>/</tt>) character. For example: <b>weather</b> measure is written if event topic is |
77 | | - * <tt>influxdb/point/weather</tt> (in this case OSGi event filter must be changed, i.e. <tt>influxdb/point/*</tt>).</p> |
| 75 | + * <p>Measurement name is defined by OSGi event topic if {@link Map} type is used: measure name is fragment after |
| 76 | + * the last slash (<code>/</code>) character. For example: <b>weather</b> measure is written |
| 77 | + * if event topic is <code>influxdb/point/weather</code> (in this case OSGi event filter must be changed, |
| 78 | + * i.e. <code>influxdb/point/*</code>).</p> |
78 | 79 | * |
79 | 80 | * <p>Structured data can be decorated with host name, host address or timestamp (by configuration).</p> |
80 | 81 | */ |
@@ -148,9 +149,9 @@ public class PointWriter implements EventHandler { |
148 | 149 | String[] event_topics() default {DEFAULT_EVENT_TOPIC}; |
149 | 150 |
|
150 | 151 | /** |
151 | | - * OSGi target filter for InfluxDB connection, i.e. <tt>(alias=test)</tt>. The following properties are |
152 | | - * copied from {@link InfluxDBConnector}: <tt>organization</tt>, <tt>bucket</tt>, <tt>database</tt>, |
153 | | - * <tt>url</tt>, <tt>alias</tt>. |
| 152 | + * OSGi target filter for InfluxDB connection, i.e. <code>(alias=test)</code>. The following properties are |
| 153 | + * copied from {@link InfluxDBConnector}: <code>organization</code>, <code>bucket</code>, <code>database</code>, |
| 154 | + * <code>url</code>, <code>alias</code>. |
154 | 155 | */ |
155 | 156 | @AttributeDefinition(required = false, name = "InfluxDB client target", |
156 | 157 | description = "OSGi target filter of InfluxDB client service") |
@@ -179,7 +180,8 @@ public class PointWriter implements EventHandler { |
179 | 180 | boolean timestamp_add() default false; |
180 | 181 |
|
181 | 182 | /** |
182 | | - * Precision used if adding timestamp, values: <tt>s</tt>, <tt>ms</tt>, <tt>us</tt>, <tt>ns</tt>. |
| 183 | + * Precision used if adding timestamp, values: <code>s</code>, <code>ms</code>, <code>us</code>, |
| 184 | + * <code>ns</code>. |
183 | 185 | */ |
184 | 186 | @AttributeDefinition(required = false, name = "Precision", |
185 | 187 | description = "Precision used if adding timestamp") |
|
0 commit comments