Class StaticValueMappingElement

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void shutdown()  
      java.util.Optional<QualifiedValue> startup​(java.util.function.Consumer<QualifiedValue> listener)
      Start up the mapping element.
      • Methods inherited from class java.lang.Object

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

      • startup

        public java.util.Optional<QualifiedValue> startup​(java.util.function.Consumer<QualifiedValue> listener)
        Description copied from interface: MappingElement
        Start up the mapping element.
        Specified by:
        startup in interface MappingElement
        Parameters:
        listener - If this mapping element's value changes in the future, it will invoke this listener.
        Returns:
        An optional qualified value that represents the initial value of the element if it is available synchronously during startup. An element that returns a non-empty value here may never invoke the listener.