public enum BuildState extends Enum<BuildState>
Enum Constant and Description |
---|
FAILED
The Build failed
|
SUCCESS
The Build was successful
|
UNKNOWN
The build state is unknown
|
Modifier and Type | Method and Description |
---|---|
static BuildState |
getInstance(String state)
Returns the appropriate enum value from the given state string
|
String |
toString() |
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 SUCCESS
public static final BuildState FAILED
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 nullpublic static BuildState getInstance(String state)
state
- Case insensitive string representation of BuildStatepublic String toString()
toString
in class Enum<BuildState>
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.