public enum BuildResult extends Enum<BuildResult>
Enum Constant and Description |
---|
FAILURE |
SUCCESS |
SUCCESS_AFTER_FAILURE |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
matches(hudson.model.Result current,
hudson.model.Result previous) |
static BuildResult |
toBuildResult(hudson.model.Result current,
hudson.model.Result previous)
|
static BuildResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildResult SUCCESS_AFTER_FAILURE
public static final BuildResult FAILURE
public static final BuildResult SUCCESS
public static BuildResult[] values()
for (BuildResult c : BuildResult.values()) System.out.println(c);
public static BuildResult 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 BuildResult toBuildResult(hudson.model.Result current, hudson.model.Result previous)
protected abstract boolean matches(hudson.model.Result current, hudson.model.Result previous)
Copyright © 2004-2011. All Rights Reserved.