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

import java.util.concurrent.atomic.AtomicBoolean;
import org.jetbrains.annotations.Nullable;
import org.springframework.context.ApplicationEvent;

public abstract class GatewayManagementRequestEvent
extends ApplicationEvent {
    @Nullable
    private Exception processingException;
    private boolean processed = false;
    @Nullable
    private String reasonNotProcessed;
    private AtomicBoolean cancelled = new AtomicBoolean();
    static final long serialVersionUID = 1135755794418659845L;

    public GatewayManagementRequestEvent(Object object) {
        super(object);
    }

    @Nullable
    public Exception getProcessingException() {
        return this.processingException;
    }

    public void setProcessingException(@Nullable Exception exception) {
        this.processingException = exception;
    }

    public boolean isProcessed() {
        return this.processed;
    }

    public void setProcessed(boolean bl2) {
        this.processed = bl2;
    }

    @Nullable
    public String getReasonNotProcessed() {
        return this.reasonNotProcessed;
    }

    public void setReasonNotProcessed(@Nullable String string) {
        this.reasonNotProcessed = string;
    }

    public boolean isCancelled() {
        return this.cancelled.get();
    }

    public void setCancelled(boolean bl2) {
        this.cancelled.set(bl2);
    }
}

