Package hudson.init

Class InitializerFinder


  • public class InitializerFinder
    extends org.jvnet.hudson.reactor.TaskBuilder
    Discovers initialization tasks from Initializer.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • InitializerFinder

        public InitializerFinder​(ClassLoader cl)
      • InitializerFinder

        public InitializerFinder()
    • Method Detail

      • afterOf

        protected org.jvnet.hudson.reactor.Milestone afterOf​(Initializer i)
      • beforeOf

        protected org.jvnet.hudson.reactor.Milestone beforeOf​(Initializer i)
      • fatalOf

        protected boolean fatalOf​(Initializer i)
      • discoverTasks

        public Collection<org.jvnet.hudson.reactor.Task> discoverTasks​(org.jvnet.hudson.reactor.Reactor session)
                                                                throws IOException
        Specified by:
        discoverTasks in class org.jvnet.hudson.reactor.TaskBuilder
        Throws:
        IOException
      • filter

        protected boolean filter​(Method e)
        Return true to ignore this method.
      • getDisplayNameOf

        protected String getDisplayNameOf​(Method e,
                                          T i)
        Obtains the display name of the given initialization task
      • invoke

        protected void invoke​(Method e)
        Invokes the given initialization method.