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

com.emc.vipr.model.sys.healthmonitor.HealthRestRep Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2013 EMC Corporation
 * All Rights Reserved
 */
package com.emc.vipr.model.sys.healthmonitor;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

/**
 * Represents node and its services health
 */

@XmlRootElement(name = "health")
public class HealthRestRep {

    private List nodeHealthList;

    public HealthRestRep() {
    }

    public HealthRestRep(List nodeHealthList) {
        this.nodeHealthList = nodeHealthList;
    }

    @XmlElementWrapper(name = "node_health_list")
    @XmlElement(name = "node_health")
    public List getNodeHealthList() {
        if (nodeHealthList == null) {
            nodeHealthList = new ArrayList();
        }
        return nodeHealthList;
    }

    public void setNodeHealthList(List nodeHealthList) {
        this.nodeHealthList = nodeHealthList;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy