Package com._1c.g5.v8.dt.core.operations
Enum UserOperationBlockReason
- java.lang.Object
-
- java.lang.Enum<UserOperationBlockReason>
-
- com._1c.g5.v8.dt.core.operations.UserOperationBlockReason
-
- All Implemented Interfaces:
Serializable
,Comparable<UserOperationBlockReason>
public enum UserOperationBlockReason extends Enum<UserOperationBlockReason>
User operation block reason.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PROJECT_CLOSE_REQUESTED
Closing the project is requested.PROJECT_NOT_REGISTERED
The project is not registered.PROJECT_NOT_RUNNING
The project is not running.SERVICE_OPERATION_RUNNING
A service operation affecting the project is running and it cannot be executed in parallel with user operations.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserOperationBlockReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserOperationBlockReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROJECT_NOT_REGISTERED
public static final UserOperationBlockReason PROJECT_NOT_REGISTERED
The project is not registered.
-
PROJECT_NOT_RUNNING
public static final UserOperationBlockReason PROJECT_NOT_RUNNING
The project is not running.
-
PROJECT_CLOSE_REQUESTED
public static final UserOperationBlockReason PROJECT_CLOSE_REQUESTED
Closing the project is requested.
-
SERVICE_OPERATION_RUNNING
public static final UserOperationBlockReason SERVICE_OPERATION_RUNNING
A service operation affecting the project is running and it cannot be executed in parallel with user operations.
-
-
Method Detail
-
values
public static UserOperationBlockReason[] 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 (UserOperationBlockReason c : UserOperationBlockReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserOperationBlockReason 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
-
-