Package hudson.init
Class TerminatorFinder
- java.lang.Object
-
- org.jvnet.hudson.reactor.TaskBuilder
-
- hudson.init.TerminatorFinder
-
public class TerminatorFinder extends org.jvnet.hudson.reactor.TaskBuilder- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassLoadercl
-
Constructor Summary
Constructors Constructor Description TerminatorFinder(ClassLoader cl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jvnet.hudson.reactor.MilestoneafterOf(Terminator i)protected String[]attainsOf(Terminator i)protected org.jvnet.hudson.reactor.MilestonebeforeOf(Terminator i)Collection<org.jvnet.hudson.reactor.Task>discoverTasks(org.jvnet.hudson.reactor.Reactor session)protected StringdisplayNameOf(Terminator i)protected booleanfatalOf(Terminator i)Termination code is never fatal.protected booleanfilter(Method e)Return true to ignore this method.protected StringgetDisplayNameOf(Method e, T i)Obtains the display name of the given initialization taskprotected voidinvoke(Method e)Invokes the given initialization method.protected String[]requiresOf(Terminator i)
-
-
-
Field Detail
-
cl
protected final ClassLoader cl
-
-
Constructor Detail
-
TerminatorFinder
public TerminatorFinder(ClassLoader cl)
-
-
Method Detail
-
displayNameOf
protected String displayNameOf(Terminator i)
-
requiresOf
protected String[] requiresOf(Terminator i)
-
attainsOf
protected String[] attainsOf(Terminator i)
-
afterOf
protected org.jvnet.hudson.reactor.Milestone afterOf(Terminator i)
-
beforeOf
protected org.jvnet.hudson.reactor.Milestone beforeOf(Terminator i)
-
fatalOf
protected boolean fatalOf(Terminator i)
Termination code is never fatal.
-
discoverTasks
public Collection<org.jvnet.hudson.reactor.Task> discoverTasks(org.jvnet.hudson.reactor.Reactor session) throws IOException
- Specified by:
discoverTasksin classorg.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.
-
-