com.atlassian.bamboo.chains.branches
Enum MergeResultState
java.lang.Object
java.lang.Enum<MergeResultState>
com.atlassian.bamboo.chains.branches.MergeResultState
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MergeResultState>
public enum MergeResultState
- extends java.lang.Enum<MergeResultState>
Represents the state of various stages in Branch Merge Strategies
Method Summary |
static MergeResultState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MergeResultState[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NOT_ATTEMPTED
public static final MergeResultState NOT_ATTEMPTED
IN_PROGRESS
public static final MergeResultState IN_PROGRESS
SUCCESS
public static final MergeResultState SUCCESS
FAILED
public static final MergeResultState FAILED
NOT_REQUIRED
public static final MergeResultState NOT_REQUIRED
values
public static MergeResultState[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MergeResultState c : MergeResultState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MergeResultState valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
Copyright © 2012 Atlassian. All Rights Reserved.