tom

Added toString to abstract event.

package org.onlab.onos.event;
import static com.google.common.base.MoreObjects.toStringHelper;
/**
* Base event implementation.
*/
......@@ -48,4 +50,10 @@ public class AbstractEvent<T extends Enum, S extends Object> implements Event<T,
return subject;
}
@Override
public String toString() {
return toStringHelper(this).add("time", time).add("type", type())
.add("subject", subject()).toString();
}
}
......