Enum CheckResult
- java.lang.Object
-
- java.lang.Enum<CheckResult>
-
- jetbrains.buildServer.serverSide.impl.personal.CheckResult
-
- All Implemented Interfaces:
Serializable
,Comparable<CheckResult>
public enum CheckResult extends Enum<CheckResult>
- Author:
- Eugene Petrenko Created: 07.11.2008 17:56:49
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILD_CANCELED
BUILD_FINISHED_FAILED
BUILD_FINISHED_SUCESSFUL
BUILD_IN_QUEUE
BUILD_IS_RUNNING
CAN_NOT_COMMIT
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PersonalChangeCommitDecision
getCommitDecision()
boolean
isShouldNotify()
static CheckResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static CheckResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUILD_CANCELED
public static final CheckResult BUILD_CANCELED
-
BUILD_FINISHED_FAILED
public static final CheckResult BUILD_FINISHED_FAILED
-
BUILD_IN_QUEUE
public static final CheckResult BUILD_IN_QUEUE
-
BUILD_FINISHED_SUCESSFUL
public static final CheckResult BUILD_FINISHED_SUCESSFUL
-
BUILD_IS_RUNNING
public static final CheckResult BUILD_IS_RUNNING
-
UNKNOWN
public static final CheckResult UNKNOWN
-
CAN_NOT_COMMIT
public static final CheckResult CAN_NOT_COMMIT
-
-
Method Detail
-
values
public static CheckResult[] 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 (CheckResult c : CheckResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckResult 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
-
getCommitDecision
public PersonalChangeCommitDecision getCommitDecision()
-
isShouldNotify
public boolean isShouldNotify()
-
-