notify.MessageType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-to-OS-notify Show documentation
Show all versions of java-to-OS-notify Show documentation
Java to Operating System Notification
The newest version!
package notify;
/**
* Message types
*
* @author francois wauquier
*
*/
public enum MessageType {
/** An error message */
ERROR,
/** A warning message */
WARNING,
/** An information message */
INFO,
/** Simple message */
NONE;
static boolean exists(String name) {
try {
valueOf(name.toUpperCase());
return true;
} catch (IllegalArgumentException e) {
return false;
}
}
static MessageType value(String name) {
return valueOf(name.toUpperCase());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy