Enum DefaultBranchChangesMode
- java.lang.Object
-
- java.lang.Enum<DefaultBranchChangesMode>
-
- jetbrains.buildServer.serverSide.impl.DefaultBranchChangesMode
-
- All Implemented Interfaces:
Serializable
,Comparable<DefaultBranchChangesMode>
public enum DefaultBranchChangesMode extends Enum<DefaultBranchChangesMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCLUDE
Excludes changes merged into default branch, except changes which are reachable only via commit in the buildINCLUDE
Includes changes merged into default branchSTRICT_EXCLUDE
Excludes changes merged into default branch
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static DefaultBranchChangesMode
parseMode(String value, DefaultBranchChangesMode defaultMode)
static DefaultBranchChangesMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultBranchChangesMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCLUDE
public static final DefaultBranchChangesMode INCLUDE
Includes changes merged into default branch
-
EXCLUDE
public static final DefaultBranchChangesMode EXCLUDE
Excludes changes merged into default branch, except changes which are reachable only via commit in the build
-
STRICT_EXCLUDE
public static final DefaultBranchChangesMode STRICT_EXCLUDE
Excludes changes merged into default branch
-
-
Method Detail
-
values
public static DefaultBranchChangesMode[] 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 (DefaultBranchChangesMode c : DefaultBranchChangesMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultBranchChangesMode 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
-
getValue
@NotNull public String getValue()
-
parseMode
@NotNull public static DefaultBranchChangesMode parseMode(@Nullable String value, @NotNull DefaultBranchChangesMode defaultMode)
-
-