public enum BuildState extends Enum<BuildState>
Enum Constant and Description |
---|
Aborted |
CompletedError |
CompletedSuccess |
NotBuild |
Unknown |
Unstable |
Modifier and Type | Method and Description |
---|---|
static BuildState |
fromResult(hudson.model.Result result) |
static BuildState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildState Unknown
public static final BuildState CompletedSuccess
public static final BuildState CompletedError
public static final BuildState Unstable
public static final BuildState NotBuild
public static final BuildState Aborted
public static BuildState[] values()
for (BuildState c : BuildState.values()) System.out.println(c);
public static BuildState 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 null@Nonnull public static BuildState fromResult(hudson.model.Result result)
Copyright © 2016–2020. All rights reserved.