public enum TermMilestone extends Enum<TermMilestone> implements org.jvnet.hudson.reactor.Milestone
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.
Enum Constant and Description |
---|
COMPLETED
The very last milestone
This is used in
Initializer.before() since annotations cannot have null as the default value. |
STARTED
The very first milestone that gets achieved without doing anything.
|
Modifier and Type | Method and Description |
---|---|
static org.jvnet.hudson.reactor.TaskBuilder |
ordering()
Creates a set of dummy tasks to enforce ordering among
TermMilestone s. |
String |
toString() |
static TermMilestone |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TermMilestone[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TermMilestone STARTED
Initializer.after()
since annotations cannot have null as the default value.public static final TermMilestone COMPLETED
Initializer.before()
since annotations cannot have null as the default value.public static TermMilestone[] values()
for (TermMilestone c : TermMilestone.values()) System.out.println(c);
public static TermMilestone valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static org.jvnet.hudson.reactor.TaskBuilder ordering()
TermMilestone
s.public String toString()
toString
in class Enum<TermMilestone>
Copyright © 2004–2019. All rights reserved.