All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.castled.events.appevents.ExternalAppEvent Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package io.castled.events.appevents;

import io.castled.events.CastledEvent;
import io.castled.events.CastledEventType;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
public abstract class ExternalAppEvent extends CastledEvent {

    private Long externalAppId;

    public ExternalAppEvent(Long externalAppId, CastledEventType castledEventType) {
        super(castledEventType);
        this.externalAppId = externalAppId;
    }

    @Override
    public String entityId() {
        return String.valueOf(externalAppId);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy