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

notify.internal.BaseNotifier Maven / Gradle / Ivy

The newest version!
package notify.internal;

import notify.MessageType;
import notify.Notifier;

/**
 * @author francois wauquier
 */
public abstract class BaseNotifier implements Notifier {


    protected String prefix(MessageType messageType) {
        switch (messageType) {
        case NONE:
            return "";
        case INFO:
            return "! ";
        case WARNING:
            return "∆ ";
        case ERROR:
            return "☠ ";
        }
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy