aboutsummaryrefslogtreecommitdiff
path: root/src/de/romjaki/logger/LogEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/romjaki/logger/LogEvent.java')
-rw-r--r--src/de/romjaki/logger/LogEvent.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/de/romjaki/logger/LogEvent.java b/src/de/romjaki/logger/LogEvent.java
new file mode 100644
index 0000000..e62742c
--- /dev/null
+++ b/src/de/romjaki/logger/LogEvent.java
@@ -0,0 +1,26 @@
+package de.romjaki.logger;
+
+/**
+ * Created by RGR on 17.08.2017.
+ */
+public abstract class LogEvent {
+
+ boolean interrupted = false;
+ Class<?> actor;
+
+ public LogEvent(Class<?> actor) {
+ this.actor = actor;
+ }
+
+ public void interrupt() {
+ interrupted = true;
+ }
+
+ public Class<?> getActor() {
+ return actor;
+ }
+
+ public boolean isInterrupted() {
+ return interrupted;
+ }
+}