org.gitlab4j.api.models.HealthCheckStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gitlab4j-api Show documentation
Show all versions of gitlab4j-api Show documentation
GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.
package org.gitlab4j.api.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import org.gitlab4j.api.utils.JacksonJsonEnumHelper;
public enum HealthCheckStatus {
OK, FAILED;
private static JacksonJsonEnumHelper enumHelper = new JacksonJsonEnumHelper<>(HealthCheckStatus.class);
@JsonCreator
public static HealthCheckStatus forValue(String value) {
return enumHelper.forValue(value);
}
@JsonValue
public String toValue() {
return enumHelper.toString(this);
}
@Override
public String toString() {
return enumHelper.toString(this);
}
}