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

pl.allegro.tech.hermes.api.Readiness Maven / Gradle / Ivy

There is a newer version: 2.6.22
Show newest version
package pl.allegro.tech.hermes.api;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotNull;

public class Readiness {
    @NotNull
    private final boolean isReady;

    @JsonCreator
    public Readiness(@JsonProperty("isReady") boolean isReady) {
        this.isReady = isReady;
    }

    @JsonGetter("isReady")
    public boolean isReady() {
        return isReady;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy