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

io.relayr.java.model.notifications.NotificationService Maven / Gradle / Ivy

The newest version!
package io.relayr.java.model.notifications;

public enum NotificationService {

    GCM("gcm"), APNS("apns");

    private final String name;

    NotificationService(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public static NotificationService getByName(String service) {
        for (NotificationService val : values())
            if (val.getName().equals(service)) return val;
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy