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

edu.stanford.protege.webprotege.sharing.GetProjectSharingSettingsAction Maven / Gradle / Ivy

There is a newer version: 2.0.2-WHO
Show newest version
package edu.stanford.protege.webprotege.sharing;

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

import static com.google.common.base.Preconditions.checkNotNull;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 07/02/15
 */
@JsonTypeName("webprotege.projects.GetProjectSharingSettings")
public record GetProjectSharingSettingsAction(ProjectId projectId) implements ProjectAction {

    public static final String CHANNEL = "webprotege.projects.GetProjectSharingSettings";

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

    public GetProjectSharingSettingsAction(ProjectId projectId) {
        this.projectId = checkNotNull(projectId);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy