Class StudioEvent
- java.lang.Object
-
- org.craftercms.studio.api.v2.event.StudioEvent
-
- Direct Known Subclasses:
SiteAwareEvent
public abstract class StudioEvent extends Object
Base class for all events- Since:
- 4.0.0
- Author:
- joseross
-
-
Constructor Summary
Constructors Constructor Description StudioEvent()
StudioEvent(Person person)
StudioEvent(org.springframework.security.core.Authentication authentication)
-
-
-
Field Detail
-
timestamp
protected final long timestamp
The current time in ms when the event was triggered
-
user
protected final Person user
The user that triggered the event, may be null for system events
-
-
Constructor Detail
-
StudioEvent
public StudioEvent(org.springframework.security.core.Authentication authentication)
-
StudioEvent
public StudioEvent(Person person)
-
StudioEvent
public StudioEvent()
-
-
Method Detail
-
getTimestamp
public long getTimestamp()
-
getUser
public Person getUser()
-
-