
edu.stanford.protege.webprotege.projectsettings.GetProjectSettingsResult Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.projectsettings;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.google.auto.value.AutoValue;
import edu.stanford.protege.webprotege.common.Response;
import edu.stanford.protege.webprotege.dispatch.Result;
import javax.annotation.Nonnull;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 25/11/14
*/
@AutoValue
@JsonTypeName("GetProjectSettings")
public abstract class GetProjectSettingsResult implements Result, Response {
@JsonCreator
public static GetProjectSettingsResult create(@JsonProperty("settings") @Nonnull ProjectSettings settings) {
return new AutoValue_GetProjectSettingsResult(settings);
}
/**
* Gets the {@link ProjectSettings}.
* @return The project settings. Not {@code null}.
*/
public abstract ProjectSettings getSettings();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy