Enum ApplyPatchStatus
- java.lang.Object
-
- java.lang.Enum<ApplyPatchStatus>
-
- jetbrains.buildServer.vcs.patches.diff.apply.ApplyPatchStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ApplyPatchStatus>
public enum ApplyPatchStatus extends Enum<ApplyPatchStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApplyPatchStatus
and(ApplyPatchStatus lhs, ApplyPatchStatus rhs)
static ApplyPatchStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApplyPatchStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final ApplyPatchStatus SUCCESS
-
PARTIAL
public static final ApplyPatchStatus PARTIAL
-
ALREADY_APPLIED
public static final ApplyPatchStatus ALREADY_APPLIED
-
SKIP
public static final ApplyPatchStatus SKIP
-
FAILURE
public static final ApplyPatchStatus FAILURE
-
ABORT
public static final ApplyPatchStatus ABORT
-
-
Method Detail
-
values
public static ApplyPatchStatus[] 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 (ApplyPatchStatus c : ApplyPatchStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplyPatchStatus 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
-
and
@Nullable public static ApplyPatchStatus and(@Nullable ApplyPatchStatus lhs, @Nullable ApplyPatchStatus rhs)
-
-