Package hudson.init
Enum Class TermMilestone
- All Implemented Interfaces:
- Serializable,- Comparable<TermMilestone>,- Constable,- org.jvnet.hudson.reactor.Milestone
Various key milestone in the termination process of Jenkins.
 
 Plugins can use these milestones to execute their tear down processing at the right moment
 (in addition to defining their own milestones by implementing Milestone.
 
These milestones are achieve in this order.
- Author:
- Kohsuke Kawaguchi
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe very last milestone This is used inInitializer.before()since annotations cannot have null as the default value.The very first milestone that gets achieved without doing anything.
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.jvnet.hudson.reactor.TaskBuilderordering()Creates a set of dummy tasks to enforce ordering amongTermMilestones.toString()static TermMilestoneReturns the enum constant of this class with the specified name.static TermMilestone[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
STARTEDThe very first milestone that gets achieved without doing anything. This is used inInitializer.after()since annotations cannot have null as the default value.
- 
COMPLETEDThe very last milestone This is used inInitializer.before()since annotations cannot have null as the default value.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
orderingpublic static org.jvnet.hudson.reactor.TaskBuilder ordering()Creates a set of dummy tasks to enforce ordering amongTermMilestones.
- 
toString- Overrides:
- toStringin class- Enum<TermMilestone>
 
 
-