![JAR search and dependency download from the Maven repository](/logo.png)
pushlibrary.notifications.NotificationFactory Maven / Gradle / Ivy
package pushlibrary.notifications;
import java.util.HashMap;
public class NotificationFactory {
public static final HashMap notificationsByType = new HashMap() {
{
put("simple", new SimpleNotification());
put("expandablepicture", new ExpandablePictureNotification());
}
};
public static EasypushNotification getNotification(String type) {
return notificationsByType.get(type);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy