Enum TestBuildDetails.CreatePlanBranchOption
- java.lang.Object
-
- java.lang.Enum<TestBuildDetails.CreatePlanBranchOption>
-
- com.atlassian.bamboo.testutils.model.TestBuildDetails.CreatePlanBranchOption
-
- All Implemented Interfaces:
Serializable
,Comparable<TestBuildDetails.CreatePlanBranchOption>
- Enclosing class:
- TestBuildDetails
public static enum TestBuildDetails.CreatePlanBranchOption extends Enum<TestBuildDetails.CreatePlanBranchOption>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORK_ENABLED_PULL_REQUEST
MANUALLY
PULL_REQUEST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestBuildDetails.CreatePlanBranchOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static TestBuildDetails.CreatePlanBranchOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANUALLY
public static final TestBuildDetails.CreatePlanBranchOption MANUALLY
-
PULL_REQUEST
public static final TestBuildDetails.CreatePlanBranchOption PULL_REQUEST
-
FORK_ENABLED_PULL_REQUEST
public static final TestBuildDetails.CreatePlanBranchOption FORK_ENABLED_PULL_REQUEST
-
-
Method Detail
-
values
public static TestBuildDetails.CreatePlanBranchOption[] 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 (TestBuildDetails.CreatePlanBranchOption c : TestBuildDetails.CreatePlanBranchOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestBuildDetails.CreatePlanBranchOption valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-