Package jetbrains.buildServer.agent
Enum CleanCheckoutStatus
- java.lang.Object
-
- java.lang.Enum<CleanCheckoutStatus>
-
- jetbrains.buildServer.agent.CleanCheckoutStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<CleanCheckoutStatus>
public enum CleanCheckoutStatus extends Enum<CleanCheckoutStatus>
- Since:
- 10.0 (15/02/16)
- Author:
- kir
- See Also:
property
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAIL_ON_CLEAN_CHECKOUT
IGNORE_CLEAN_CHECKOUT
NONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CleanCheckoutStatus
fromBuild(AgentRunningBuild build)
static CleanCheckoutStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static CleanCheckoutStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAIL_ON_CLEAN_CHECKOUT
public static final CleanCheckoutStatus FAIL_ON_CLEAN_CHECKOUT
-
IGNORE_CLEAN_CHECKOUT
public static final CleanCheckoutStatus IGNORE_CLEAN_CHECKOUT
-
NONE
public static final CleanCheckoutStatus NONE
-
-
Method Detail
-
values
public static CleanCheckoutStatus[] 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 (CleanCheckoutStatus c : CleanCheckoutStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CleanCheckoutStatus 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
-
fromBuild
public static CleanCheckoutStatus fromBuild(AgentRunningBuild build)
-
-