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

edu.stanford.protege.webprotege.issues.DiscussionThreadStatusChangedEvent Maven / Gradle / Ivy

The newest version!
package edu.stanford.protege.webprotege.issues;


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;
import org.semanticweb.owlapi.model.OWLEntity;

import javax.annotation.Nonnull;
import java.util.Optional;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 12 Oct 2016
 */
@JsonTypeName("webprotege.events.discussions.DiscussionThreadStatusChanged")
public record DiscussionThreadStatusChangedEvent(@Nonnull EventId eventId,
                                                 @Nonnull ProjectId projectId,
                                                 @Nonnull ThreadId threadId,
                                                 @Nonnull Optional entity,
                                                 int openCommentsCountForEntity,
                                                 @Nonnull Status status) implements ProjectEvent {

    public static final String CHANNEL = "webprotege.events.discussions.DiscussionThreadStatusChanged";

    @Override
    public String getChannel() {
        return CHANNEL;
    }}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy