Java library that allows you send messages to HipChat rooms.
Note: This library is an implementation of Sent Notification action from HipChat API v2.
##How it works
HipChatNotifier hipChatNotifier = new HipChatNotifier();
HipChatMessage hipChatMessage = HipChatMessage.build(HipChatMessageColor.green,
"Hi team. This message was sent using the HipChat Notifier Java library.", true,
HipChatMessateType.text);
try {
if (hipChatNotifier.send("Xproject Team", "alsmdkfurekal0963hkdi2jnduysawlkdqe", hipChatMessage)) {
System.out.println("Message sent.");
} else {
System.out.println("Message wasn't sent.");
}
} catch (UnableToSendHipChatMsgException e) {
System.err.println(e.getLocalizedMessage());
}
Note: You can set the HipChat Server address using:
HipChatNotifier hipChatNotifier = new HipChatNotifier("https://hipchat.yourcompany.com");
Copyright 2015 Rui Rodrigues This software is under http://www.apache.org/licenses/LICENSE-2.0.
Any suggestions are welcome.