Class RefreshEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class RefreshEvent
    extends io.micronaut.context.event.ApplicationEvent

    An ApplicationEvent for handling refreshes.

    Since:
    1.0
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      RefreshEvent()
      Constructs a refresh Event that refreshes all keys.
      RefreshEvent​(java.util.Map<java.lang.String,​java.lang.Object> changes)
      Constructs a prototypical Event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getSource()  
      • Methods inherited from class java.util.EventObject

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RefreshEvent

        public RefreshEvent​(java.util.Map<java.lang.String,​java.lang.Object> changes)
        Constructs a prototypical Event.
        Parameters:
        changes - The keys that changed and the previous values of said keys
        Throws:
        java.lang.IllegalArgumentException - if source is null.
      • RefreshEvent

        public RefreshEvent()
        Constructs a refresh Event that refreshes all keys.
    • Method Detail

      • getSource

        public java.util.Map<java.lang.String,​java.lang.Object> getSource()
        Overrides:
        getSource in class java.util.EventObject