protected String getMessage(ClientApplicationEvent event) {
return description.getValue(event, String.class);
}
protected String getColor(ClientApplicationEvent event) {
if (event instanceof ClientApplicationStatusChangedEvent) {
<BUG>return "UP".equals(((ClientApplicationStatusChangedEvent) event).getTo().getStatus()) ? "green" : "red";
} else {</BUG>
return "gray";
}
}

protected String getMessage(ClientApplicationEvent event) {
return description.getValue(event, String.class);
}
protected String getColor(ClientApplicationEvent event) {
if (event instanceof ClientApplicationStatusChangedEvent) {
return "UP".equals(((ClientApplicationStatusChangedEvent) event).getTo().getStatus())
? "green" : "red";
} else {
return "gray";
}
}
