Class WaitForConditionWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>

  • All Implemented Interfaces:
    Watcher<T>

    public class WaitForConditionWatcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
    extends Object
    implements Watcher<T>
    • Constructor Detail

      • WaitForConditionWatcher

        public WaitForConditionWatcher​(Predicate<T> condition)
    • Method Detail

      • eventReceived

        public void eventReceived​(Watcher.Action action,
                                  T resource)
        Specified by:
        eventReceived in interface Watcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
      • onClose

        public void onClose​(WatcherException cause)
        Description copied from interface: Watcher
        Invoked when the watcher closes due to an Exception.
        Specified by:
        onClose in interface Watcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>
        Parameters:
        cause - What caused the watcher to be closed.
      • onClose

        public void onClose()
        Description copied from interface: Watcher
        Invoked when the watcher is gracefully closed.
        Specified by:
        onClose in interface Watcher<T extends io.fabric8.kubernetes.api.model.HasMetadata>