Package org.onehippo.cms7.event
Class HippoEvent<E extends HippoEvent<E>>
java.lang.Object
org.onehippo.cms7.event.HippoEvent<E>
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
HippoSecurityEvent
Event for Hippo. A bag of properties with a number of pre-defined keys.
Can be used in a fluent style to build; sub-classes are encouraged to follow the same pattern.
The event can be sealed when no further changes need to be made. It is immutable after sealing, so it
is safe to access concurrently.
When creating a subclass, it is possible to keep the fluent style by extending as
public class MyEvent<E extends MyEvent> extends HippoEvent<E> {
}
Note that subclasses should not introduce any fields of their own.
-
Constructor Summary
ConstructorDescriptionHippoEvent
(String application) HippoEvent
(HippoEvent<?> event) Copy constructor -
Method Summary
-
Constructor Details
-
HippoEvent
-
HippoEvent
Copy constructor- Parameters:
event
- the to-be-copied event
-
-
Method Details