Enum IndexStatus
- java.lang.Object
-
- java.lang.Enum<IndexStatus>
-
- jetbrains.buildServer.serverSide.build.index.IndexStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<IndexStatus>
,ResultCode
public enum IndexStatus extends Enum<IndexStatus> implements ResultCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
DISABLED
DISABLED_CANT_CONNECT
DISABLED_NOT_FOUND
DISABLED_VERSION_MISMATCH
INIT
INITIALIZING
PAUSED
PENDING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isActive()
boolean
isActiveOrPaused()
boolean
isDisabled()
boolean
isInit()
boolean
isPaused()
static IndexStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static IndexStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INIT
public static final IndexStatus INIT
-
INITIALIZING
public static final IndexStatus INITIALIZING
-
PAUSED
public static final IndexStatus PAUSED
-
ACTIVE
public static final IndexStatus ACTIVE
-
DISABLED
public static final IndexStatus DISABLED
-
DISABLED_CANT_CONNECT
public static final IndexStatus DISABLED_CANT_CONNECT
-
DISABLED_VERSION_MISMATCH
public static final IndexStatus DISABLED_VERSION_MISMATCH
-
DISABLED_NOT_FOUND
public static final IndexStatus DISABLED_NOT_FOUND
-
PENDING
public static final IndexStatus PENDING
-
-
Method Detail
-
values
public static IndexStatus[] 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 (IndexStatus c : IndexStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndexStatus 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
-
isActive
public boolean isActive()
-
isActiveOrPaused
public boolean isActiveOrPaused()
-
isPaused
public boolean isPaused()
-
isDisabled
public boolean isDisabled()
-
isInit
public boolean isInit()
-
-