}
@Override
public boolean respondsTo(Event event) {
if (event instanceof StatusChangedEvent) {
StatusChangedEvent se = (StatusChangedEvent)event;
Status s = se.getStatus();
log.info("Checking responder for status change event for " + se.getEventObject().getClass().getSimpleName());
if (s != null) {
if (s.getHealth().equals(HealthType.Failed) || s.getHealth().equals(HealthType.Completed)) {
return true;
}
}