Class StudioEvent

  • Direct Known Subclasses:
    SiteAwareEvent

    public abstract class StudioEvent
    extends Object
    Base class for all events
    Since:
    4.0.0
    Author:
    joseross
    • 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()