Class ApplicationChangedEvent

  • All Implemented Interfaces:
    Serializable

    public class ApplicationChangedEvent
    extends org.springframework.context.ApplicationEvent
    Published whenever a persisted representation of a Catalog has changed
    Author:
    Phillip Verheyden (phillipuniverse)
    See Also:
    Serialized Form
    • Constructor Detail

      • ApplicationChangedEvent

        public ApplicationChangedEvent​(Object source,
                                       Trackable application,
                                       OperationType operation)
        Parameters:
        source - triggered the event
        application - persisted counterpart to a Application
        operation - what type of operation was performed on the application
    • Method Detail

      • getApplication

        public Trackable getApplication()
        The application that was modified
        Returns:
        persisted counterpart to Application
      • getOperation

        public OperationType getOperation()
        The operation that triggered the change
        Returns:
        operation that triggered the change