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

edu.stanford.protege.webprotege.user.GetUserIdCompletionsAction Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonTypeName;
import edu.stanford.protege.webprotege.dispatch.Action;

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

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 12/05/15
 */
@JsonTypeName("webprotege.users.GetUserIdCompletions")
public record GetUserIdCompletionsAction(String completionText) implements Action {

    public static final String CHANNEL = "webprotege.users.GetUserIdCompletions";

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

    public GetUserIdCompletionsAction(String completionText) {
        this.completionText =
                checkNotNull(completionText);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy