public enum Phase extends Enum<Phase>
Modifier and Type | Method and Description |
---|---|
void |
handle(hudson.model.AbstractBuild build,
hudson.model.TaskListener listener) |
static Phase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Phase STARTED
public static final Phase COMPLETED
public static Phase[] values()
for (Phase c : Phase.values()) System.out.println(c);
public static Phase 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 void handle(hudson.model.AbstractBuild build, hudson.model.TaskListener listener)
Copyright © 2004-2015. All Rights Reserved.