xwm1992 commented on code in PR #4365:
URL: https://github.com/apache/eventmesh/pull/4365#discussion_r1335546649


##########
eventmesh-common/src/main/java/org/apache/eventmesh/common/filter/PatternEntry.java:
##########
@@ -0,0 +1,54 @@
+package org.apache.eventmesh.common.filter;
+
+
+import org.apache.eventmesh.common.filter.condition.Condition;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.fasterxml.jackson.databind.JsonNode;
+
+public class PatternEntry {
+
+
+    private final String patternPath;
+
+    private final List<Condition> conditionList = new ArrayList<>();
+
+    public PatternEntry(final String patternPath) {
+        this.patternPath = patternPath;
+    }
+
+    public void addRuleCondition(Condition patternCondition) {
+        this.conditionList.add(patternCondition);
+    }
+
+
+    public String getPatternName() {
+        return "123";

Review Comment:
   what is this return used for?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to