You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2022/09/02 14:51:28 UTC
[plc4x] 03/05: chore(plc4j/api): Added a map of "options" to the browse request item
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit c47f3f9f5c1be8ed529a344edc7af370dff25b69
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Fri Sep 2 16:49:08 2022 +0200
chore(plc4j/api): Added a map of "options" to the browse request item
---
.../java/org/apache/plc4x/java/api/messages/PlcBrowseItem.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/PlcBrowseItem.java b/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/PlcBrowseItem.java
index e81b136ec..57c9d3f09 100644
--- a/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/PlcBrowseItem.java
+++ b/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/PlcBrowseItem.java
@@ -19,8 +19,10 @@
package org.apache.plc4x.java.api.messages;
import org.apache.plc4x.java.api.types.PlcValueType;
+import org.apache.plc4x.java.api.value.PlcValue;
import java.util.List;
+import java.util.Map;
public interface PlcBrowseItem {
@@ -59,4 +61,9 @@ public interface PlcBrowseItem {
*/
List<PlcBrowseItem> getChildren();
+ /**
+ * @return returns a map of additional options the given protocol might provide.
+ */
+ Map<String, PlcValue> getOptions();
+
}