-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add assessment-content-mutated dapr topic
- Loading branch information
1 parent
b8b4517
commit e3a8681
Showing
4 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/java/de/unistuttgart/iste/meitrex/common/event/AssessmentContentMutatedEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package de.unistuttgart.iste.meitrex.common.event; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import javax.annotation.Nullable; | ||
import java.util.List; | ||
import java.util.UUID; | ||
|
||
@Data | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class AssessmentContentMutatedEvent { | ||
private UUID courseId; | ||
private UUID assessmentId; | ||
private AssessmentType assessmentType; | ||
private List<String> textualRepresentation; | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/java/de/unistuttgart/iste/meitrex/common/event/AssessmentType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package de.unistuttgart.iste.meitrex.common.event; | ||
|
||
public enum AssessmentType { | ||
QUIZ, | ||
FLASHCARDS | ||
} |