Class ImmutableNotificationOptions

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.Executor executor  
      private java.util.Map<java.lang.String,​java.lang.Object> options  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ImmutableNotificationOptions​(java.util.concurrent.Executor executor, java.util.Map<java.lang.String,​java.lang.Object> options)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.String name)  
      java.util.concurrent.Executor getExecutor()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • executor

        private final java.util.concurrent.Executor executor
      • options

        private final java.util.Map<java.lang.String,​java.lang.Object> options
    • Constructor Detail

      • ImmutableNotificationOptions

        private ImmutableNotificationOptions​(java.util.concurrent.Executor executor,
                                             java.util.Map<java.lang.String,​java.lang.Object> options)
    • Method Detail

      • getExecutor

        public java.util.concurrent.Executor getExecutor()
        Specified by:
        getExecutor in interface NotificationOptions
        Returns:
        the executor used to execute an asynchronous event
      • get

        public java.lang.Object get​(java.lang.String name)
        Specified by:
        get in interface NotificationOptions
        Parameters:
        name - name of the option to get value of
        Returns:
        the value of an option or null if no option for the given name exists