edu.stanford.protege.webprotege.watches.WatchAddedEvent Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.watches;
import com.fasterxml.jackson.annotation.JsonTypeName;
import edu.stanford.protege.webprotege.common.EventId;
import edu.stanford.protege.webprotege.common.ProjectEvent;
import edu.stanford.protege.webprotege.common.ProjectId;
/**
* Author: Matthew Horridge
* Stanford University
* Bio-Medical Informatics Research Group
* Date: 21/03/2013
*/
@JsonTypeName("webprotege.events.watches.WatchAdded")
public record WatchAddedEvent(EventId eventId,
ProjectId projectId,
Watch watch) implements ProjectEvent {
public static final String CHANNEL = "webprotege.events.watches.WatchAdded";
@Override
public String getChannel() {
return CHANNEL;
}
}