Package io.gravitee.alert.api.event
Class AbstractEvent
- java.lang.Object
-
- io.gravitee.alert.api.event.AbstractEvent
-
- All Implemented Interfaces:
Event,Serializable,Comparable<Event>
- Direct Known Subclasses:
DefaultEvent
public abstract class AbstractEvent extends Object implements Event, Serializable
- Author:
- David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface io.gravitee.alert.api.event.Event
PROPERTY_ENVIRONMENT, PROPERTY_INSTALLATION, PROPERTY_ORGANIZATION
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractEvent(long timestamp, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()Stringid()Event identifier.longtimestamp()Event timestamp.StringtoString()Stringtype()Type of event: healtcheck, request, node_monitor, ...-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.gravitee.alert.api.event.Event
compareTo, context, properties
-
-
-
-
Constructor Detail
-
AbstractEvent
protected AbstractEvent(long timestamp, String type)
-
-
Method Detail
-
timestamp
public long timestamp()
Description copied from interface:EventEvent timestamp.
-
type
public String type()
Description copied from interface:EventType of event: healtcheck, request, node_monitor, ...
-
-