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

nl.pvanassen.geckoboard.api.Push Maven / Gradle / Ivy

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

import nl.pvanassen.geckoboard.api.error.ValidationException;

/**
 * Abstract push type. This is the base type of every widget type
 *
 * @author Paul van Assen
 */
public abstract class Push {

    private final String widgetKey;

    protected Push(String widgetKey) {
        this.widgetKey = widgetKey;
    }

    final String getWidgetKey() {
        return widgetKey;
    }

    protected abstract void validate() throws ValidationException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy