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

nl.pvanassen.geckoboard.api.json.map.Points Maven / Gradle / Ivy

The newest version!
package nl.pvanassen.geckoboard.api.json.map;

import java.util.LinkedList;
import java.util.List;

import com.google.gson.annotations.SerializedName;

/**
 * Holder for all points to push to Geckoboard
 *
 * @author Paul van Assen
 */
public class Points {

    @SerializedName("point")
    private final List points = new LinkedList();

    /**
     * Adds a point to the push message for geckoboard
     * 
     * @param point Point to add.
     */
    public void addPoint(AbstractPoint point) {
        points.add(point);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy