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

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

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

import com.fasterxml.jackson.annotation.JsonTypeName;
import edu.stanford.protege.webprotege.common.ChangeRequestId;
import edu.stanford.protege.webprotege.common.ContentChangeRequest;
import edu.stanford.protege.webprotege.common.ProjectId;
import edu.stanford.protege.webprotege.dispatch.ProjectAction;
import edu.stanford.protege.webprotege.project.HasProjectId;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 7 Oct 2016
 */
@JsonTypeName("webprotege.discussions.AddComment")
public record AddCommentAction(ChangeRequestId changeRequestId,
                               ProjectId projectId,
                               ThreadId threadId,
                               String comment) implements ProjectAction, HasProjectId, ContentChangeRequest {

    public static final String CHANNEL = "webprotege.discussions.AddComment";

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy