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

pro.panopticon.client.model.Status Maven / Gradle / Ivy

package pro.panopticon.client.model;

import java.util.List;

public class Status {

    public String environment;
    public String system;
    public String component;
    public String server;
    public List measurements;

    public Status(String environment, String system, String component, String server, List measurements) {
        this.environment = environment;
        this.system = system;
        this.component = component;
        this.server = server;
        this.measurements = measurements;
    }

    public Status(ComponentInfo componentInfo, List measurements) {
        this(componentInfo.environment, componentInfo.system, componentInfo.component, componentInfo.server, measurements);
    }


    @Override
    public String toString() {
        return "UpdatedStatus{" +
                "environment='" + environment + '\'' +
                ", system='" + system + '\'' +
                ", component='" + component + '\'' +
                ", server='" + server + '\'' +
                ", measurements=" + measurements +
                '}';
    }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy