Interface WatchableSource<T>

    • Method Detail

      • targetType

        default Class<T> targetType()
        Target type as supported by this source.
        Returns:
        class of the target, by default used for target()
      • target

        T target()
        The target of this source.
        Returns:
        target this source is configured with, never null
      • changeWatcher

        Optional<ChangeWatcher<Object>> changeWatcher()
        If a change watcher is configured with this source, return it. The source implementation does not need to handle change watcher .
        Returns:
        change watcher if one is configured on this source