Logo Search packages:      
Sourcecode: acgvision-agent version File versions  Download package

Monitor.java

package com.acgvision.core.ws;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for monitor complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="monitor">
 *   &lt;complexContent>
 *     &lt;extension base="{http://ws.core.acgvision.com/}job">
 *       &lt;sequence>
 *         &lt;element name="averages" type="{http://ws.core.acgvision.com/}average" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="buffer" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="incidents" type="{http://ws.core.acgvision.com/}incident" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="limitValues" type="{http://ws.core.acgvision.com/}limitValue" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="measures" type="{http://ws.core.acgvision.com/}measure" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="saveValues" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "monitor", propOrder = {
    "averages",
    "buffer",
    "incidents",
    "limitValues",
    "measures",
    "saveValues"
})
@XmlSeeAlso({
    FileSystem.class,
    Cpu.class,
    Script.class,
    Memory.class
})
00052 public class Monitor
    extends Job
{

    @XmlElement(nillable = true)
    protected List<Average> averages;
    protected int buffer;
    @XmlElement(nillable = true)
    protected List<Incident> incidents;
    @XmlElement(nillable = true)
    protected List<LimitValue> limitValues;
    @XmlElement(nillable = true)
    protected List<Measure> measures;
    protected boolean saveValues;

    /**
     * Gets the value of the averages property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the averages property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAverages().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Average }
     * 
     * 
     */
00089     public List<Average> getAverages() {
        if (averages == null) {
            averages = new ArrayList<Average>();
        }
        return this.averages;
    }

    /**
     * Gets the value of the buffer property.
     * 
     */
00100     public int getBuffer() {
        return buffer;
    }

    /**
     * Sets the value of the buffer property.
     * 
     */
00108     public void setBuffer(int value) {
        this.buffer = value;
    }

    /**
     * Gets the value of the incidents property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the incidents property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getIncidents().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Incident }
     * 
     * 
     */
00134     public List<Incident> getIncidents() {
        if (incidents == null) {
            incidents = new ArrayList<Incident>();
        }
        return this.incidents;
    }

    /**
     * Gets the value of the limitValues property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the limitValues property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getLimitValues().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link LimitValue }
     * 
     * 
     */
00163     public List<LimitValue> getLimitValues() {
        if (limitValues == null) {
            limitValues = new ArrayList<LimitValue>();
        }
        return this.limitValues;
    }

    /**
     * Gets the value of the measures property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the measures property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMeasures().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Measure }
     * 
     * 
     */
00192     public List<Measure> getMeasures() {
        if (measures == null) {
            measures = new ArrayList<Measure>();
        }
        return this.measures;
    }

    /**
     * Gets the value of the saveValues property.
     * 
     */
00203     public boolean isSaveValues() {
        return saveValues;
    }

    /**
     * Sets the value of the saveValues property.
     * 
     */
00211     public void setSaveValues(boolean value) {
        this.saveValues = value;
    }

}

Generated by  Doxygen 1.6.0   Back to index