Class WatchHandler<T extends Annotation>

  • All Implemented Interfaces:
    PluginHandler<T>

    public class WatchHandler<T extends Annotation>
    extends Object
    implements PluginHandler<T>
    Watch method handler - handle @OnResourceFileEvent annotation on a method.
    Author:
    Jiri Bubnik
    • Constructor Detail

      • WatchHandler

        public WatchHandler​(PluginManager pluginManager)
    • Method Detail

      • initField

        public boolean initField​(PluginAnnotation<T> pluginAnnotation)
        Description copied from interface: PluginHandler
        Initialization for field annotations.
        Specified by:
        initField in interface PluginHandler<T extends Annotation>
        Parameters:
        pluginAnnotation - annotation values
        Returns:
        true if initialized.
      • initMethod

        public boolean initMethod​(PluginAnnotation<T> pluginAnnotation)
        Description copied from interface: PluginHandler
        Initialization for method annotations.
        Specified by:
        initMethod in interface PluginHandler<T extends Annotation>
        Parameters:
        pluginAnnotation - annotation values
        Returns:
        true if initialized.