Package jetbrains.buildServer.serverSide
Enum BranchesPolicy
- java.lang.Object
-
- java.lang.Enum<BranchesPolicy>
-
- jetbrains.buildServer.serverSide.BranchesPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<BranchesPolicy>
public enum BranchesPolicy extends Enum<BranchesPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_HISTORY_AND_ACTIVE_VCS_BRANCHES
ACTIVE_HISTORY_BRANCHES
ACTIVE_VCS_BRANCHES
ALL_BRANCHES
HISTORY_BRANCHES
VCS_BRANCHES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BranchesPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static BranchesPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VCS_BRANCHES
public static final BranchesPolicy VCS_BRANCHES
-
ACTIVE_VCS_BRANCHES
public static final BranchesPolicy ACTIVE_VCS_BRANCHES
-
HISTORY_BRANCHES
public static final BranchesPolicy HISTORY_BRANCHES
-
ACTIVE_HISTORY_BRANCHES
public static final BranchesPolicy ACTIVE_HISTORY_BRANCHES
-
ACTIVE_HISTORY_AND_ACTIVE_VCS_BRANCHES
public static final BranchesPolicy ACTIVE_HISTORY_AND_ACTIVE_VCS_BRANCHES
-
ALL_BRANCHES
public static final BranchesPolicy ALL_BRANCHES
-
-
Method Detail
-
values
public static BranchesPolicy[] 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 (BranchesPolicy c : BranchesPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BranchesPolicy 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
-
-