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

com.danielflower.apprunner.mgmt.Availability Maven / Gradle / Ivy

Go to download

A self-hosted platform-as-a-service that hosts web apps written in Java, Clojure, NodeJS, Python, golang and Scala.

There is a newer version: 2.4.6
Show newest version
package com.danielflower.apprunner.mgmt;

public class Availability {

    public final boolean isAvailable;
    public final String availabilityStatus;

    public Availability(boolean isAvailable, String availabilityStatus) {
        this.isAvailable = isAvailable;
        this.availabilityStatus = availabilityStatus;
    }

    public static Availability available() {
        return new Availability(true, "Running");
    }
    public static Availability unavailable(String message) {
        return new Availability(false, message);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy