/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  org.springframework.context.ApplicationEvent
 */
package com.l7tech.server.event.admin;

import com.l7tech.server.audit.AdminAuditConstants;
import java.util.logging.Level;
import org.springframework.context.ApplicationEvent;

public abstract class AdminEvent
extends ApplicationEvent {
    protected static final int MESSAGE_MAX_LENGTH = 255;
    private final Level level;
    private boolean auditIgnore;
    protected String note;
    static final long serialVersionUID = -9028174462595279115L;

    public AdminEvent(Object object) {
        this(object, null, AdminAuditConstants.DEFAULT_LEVEL);
    }

    public AdminEvent(Object object, String string) {
        this(object, string, AdminAuditConstants.DEFAULT_LEVEL);
    }

    public AdminEvent(Object object, String string, Level level) {
        super(object);
        this.note = string;
        this.level = level;
    }

    public String getNote() {
        return this.note;
    }

    public Level getMinimumLevel() {
        return this.level;
    }

    public boolean isAuditIgnore() {
        return this.auditIgnore;
    }

    public void setAuditIgnore(boolean bl2) {
        this.auditIgnore = bl2;
    }
}

