WIP:MOVE
authorKai Moritz <kai@juplo.de>
Mon, 11 Sep 2023 17:06:58 +0000 (19:06 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 13 Sep 2023 20:43:44 +0000 (22:43 +0200)
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/AbstractMessageTo.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/data/AbstractDataMessageTo.java [deleted file]
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/AbstractInfoMessageTo.java [deleted file]

diff --git a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/AbstractMessageTo.java b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/AbstractMessageTo.java
new file mode 100644 (file)
index 0000000..c96f43b
--- /dev/null
@@ -0,0 +1,18 @@
+package de.juplo.kafka.chat.backend.implementation.kafka.messages.data;
+
+
+import lombok.Getter;
+import lombok.RequiredArgsConstructor;
+
+
+@RequiredArgsConstructor
+public class AbstractDataMessageTo
+{
+  public enum ToType {
+    COMMAND_CREATE_CHATROOM,
+    EVENT_CHATMESSAGE_RECEIVED,
+  }
+
+  @Getter
+  private final ToType type;
+}
diff --git a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/data/AbstractDataMessageTo.java b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/data/AbstractDataMessageTo.java
deleted file mode 100644 (file)
index c96f43b..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-package de.juplo.kafka.chat.backend.implementation.kafka.messages.data;
-
-
-import lombok.Getter;
-import lombok.RequiredArgsConstructor;
-
-
-@RequiredArgsConstructor
-public class AbstractDataMessageTo
-{
-  public enum ToType {
-    COMMAND_CREATE_CHATROOM,
-    EVENT_CHATMESSAGE_RECEIVED,
-  }
-
-  @Getter
-  private final ToType type;
-}
diff --git a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/AbstractInfoMessageTo.java b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/AbstractInfoMessageTo.java
deleted file mode 100644 (file)
index d4fd3c6..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-package de.juplo.kafka.chat.backend.implementation.kafka.messages.info;
-
-
-import lombok.Getter;
-import lombok.RequiredArgsConstructor;
-
-
-@RequiredArgsConstructor
-public class AbstractInfoMessageTo
-{
-  public enum ToType {
-    EVENT_CHATROOM_CREATED,
-  }
-
-  @Getter
-  private final ToType type;
-}