|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LifeCycleState>
com.atlassian.bamboo.builder.LifeCycleState
public enum LifeCycleState
| Enum Constant Summary | |
|---|---|
FINISHED
The Build finished |
|
IN_PROGRESS
The build is really building, so once checkout started on agent |
|
NOT_BUILT
The Build was not built |
|
PENDING
The build pending, as long as build is queued |
|
QUEUED
The build queued, as long as agent not started build process |
|
| Field Summary | |
|---|---|
static java.util.EnumSet<LifeCycleState> |
ACTIVE_STATES
|
static java.util.EnumSet<LifeCycleState> |
FINAL_STATES
|
| Method Summary | |
|---|---|
static LifeCycleState |
getInstance(java.lang.String state)
Returns the appropriate enum value from the given state string |
java.lang.String |
getValue()
|
static boolean |
isActive(LifeCycleState lifeCycleState)
|
static boolean |
isFinalized(LifeCycleState lifeCycleState)
|
static boolean |
isFinished(LifeCycleState lifeCycleState)
|
static boolean |
isInProgress(LifeCycleState lifeCycleState)
|
static boolean |
isNotBuilt(LifeCycleState lifeCycleState)
|
static boolean |
isPending(LifeCycleState lifeCycleState)
|
static boolean |
isQueued(LifeCycleState lifeCycleState)
|
static boolean |
isWaiting(LifeCycleState lifeCycleState)
|
java.lang.String |
toString()
Is required because of Hibernate |
static LifeCycleState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LifeCycleState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final LifeCycleState PENDING
public static final LifeCycleState QUEUED
public static final LifeCycleState IN_PROGRESS
public static final LifeCycleState FINISHED
public static final LifeCycleState NOT_BUILT
| Field Detail |
|---|
public static final java.util.EnumSet<LifeCycleState> ACTIVE_STATES
public static final java.util.EnumSet<LifeCycleState> FINAL_STATES
| Method Detail |
|---|
public static LifeCycleState[] values()
for (LifeCycleState c : LifeCycleState.values()) System.out.println(c);
public static LifeCycleState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static LifeCycleState getInstance(java.lang.String state)
state -
@NotNull public java.lang.String getValue()
public java.lang.String toString()
toString in class java.lang.Enum<LifeCycleState>
public static boolean isPending(@Nullable
LifeCycleState lifeCycleState)
public static boolean isQueued(@Nullable
LifeCycleState lifeCycleState)
public static boolean isWaiting(@Nullable
LifeCycleState lifeCycleState)
public static boolean isActive(@Nullable
LifeCycleState lifeCycleState)
public static boolean isFinalized(@Nullable
LifeCycleState lifeCycleState)
public static boolean isInProgress(@Nullable
LifeCycleState lifeCycleState)
public static boolean isFinished(@Nullable
LifeCycleState lifeCycleState)
public static boolean isNotBuilt(@Nullable
LifeCycleState lifeCycleState)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||