Package com._1c.g5.v8.derived
Enum StageLockRequestResult
- java.lang.Object
-
- java.lang.Enum<StageLockRequestResult>
-
- com._1c.g5.v8.derived.StageLockRequestResult
-
- All Implemented Interfaces:
Serializable
,Comparable<StageLockRequestResult>
public enum StageLockRequestResult extends Enum<StageLockRequestResult>
Result of the stage locking request at the moment of the stage lock call
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPROVED
Stage lock request is approved.BLOCKED_BY_EXCLUSIVE_OPERATION
Stage lock application is blocked, because there is an exclusive operation running or waiting.BLOCKED_BY_HIGHER_PRIORITY_JOB
Stage lock application is blocked, because there is higher priority job running or waiting.BLOCKED_BY_LOWER_PRIORITY_JOB
Stage lock application is blocked, because there is lower priority job running.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StageLockRequestResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static StageLockRequestResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPROVED
public static final StageLockRequestResult APPROVED
Stage lock request is approved.
-
BLOCKED_BY_EXCLUSIVE_OPERATION
public static final StageLockRequestResult BLOCKED_BY_EXCLUSIVE_OPERATION
Stage lock application is blocked, because there is an exclusive operation running or waiting.
-
BLOCKED_BY_HIGHER_PRIORITY_JOB
public static final StageLockRequestResult BLOCKED_BY_HIGHER_PRIORITY_JOB
Stage lock application is blocked, because there is higher priority job running or waiting.
-
BLOCKED_BY_LOWER_PRIORITY_JOB
public static final StageLockRequestResult BLOCKED_BY_LOWER_PRIORITY_JOB
Stage lock application is blocked, because there is lower priority job running.
-
-
Method Detail
-
values
public static StageLockRequestResult[] 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 (StageLockRequestResult c : StageLockRequestResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StageLockRequestResult 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
-
-