Class VoidWatchEventKind

  • All Implemented Interfaces:
    WatchEvent.Kind<java.lang.Void>

    public class VoidWatchEventKind
    extends java.lang.Object
    implements WatchEvent.Kind<java.lang.Void>
    • Constructor Summary

      Constructors 
      Constructor Description
      VoidWatchEventKind​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String name()  
      java.lang.Class<java.lang.Void> type()  
      • Methods inherited from class java.lang.Object

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

      • VoidWatchEventKind

        public VoidWatchEventKind​(java.lang.String name)
    • Method Detail

      • name

        public java.lang.String name()
        Specified by:
        name in interface WatchEvent.Kind<java.lang.Void>
        Returns:
        the name of this modifier
      • type

        public java.lang.Class<java.lang.Void> type()
        Specified by:
        type in interface WatchEvent.Kind<java.lang.Void>
        Returns:
        the type of the WatchEvent's context value.