aboutsummaryrefslogtreecommitdiff
path: root/src/de/romjaki/logger/LogEvent.java
blob: e62742cae64987f819c64ec6548c5361a542e89d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
    }
}