Package com._1c.g5.resourcemanagement
Enum SystemLoadState
- java.lang.Object
-
- java.lang.Enum<SystemLoadState>
-
- com._1c.g5.resourcemanagement.SystemLoadState
-
- All Implemented Interfaces:
Serializable
,Comparable<SystemLoadState>
public enum SystemLoadState extends Enum<SystemLoadState>
Resource load state of the system
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SystemLoadState
valueOf(String name)
Returns the enum constant of this type with the specified name.static SystemLoadState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final SystemLoadState NORMAL
Normal level of the load
-
OVERLOAD
public static final SystemLoadState OVERLOAD
The system is overloaded, need to reduce resource-consuming operations
-
CRITICAL
public static final SystemLoadState CRITICAL
The critical oveload of the system. Need to perform emergency stop of all resource-consuming operations
-
-
Method Detail
-
values
public static SystemLoadState[] 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 (SystemLoadState c : SystemLoadState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemLoadState 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
-
-