com.zarbosoft.interface1.events.InterfaceObjectCloseEvent Maven / Gradle / Ivy
package com.zarbosoft.interface1.events;
import com.zarbosoft.interface1.Configuration;
import com.zarbosoft.pidgoon.events.MatchingEvent;
@Configuration(name = "object-close")
public class InterfaceObjectCloseEvent implements InterfaceEvent {
@Override
public boolean matches(final MatchingEvent event) {
return event.getClass() == getClass();
}
@Override
public String toString() {
return String.format("OBJECT_CLOSE");
}
}