Package com._1c.g5.v8.dt.bsl.common
Enum IBslPreferences.EnvironmentLaunchMode
- java.lang.Object
-
- java.lang.Enum<IBslPreferences.EnvironmentLaunchMode>
-
- com._1c.g5.v8.dt.bsl.common.IBslPreferences.EnvironmentLaunchMode
-
- All Implemented Interfaces:
Serializable
,Comparable<IBslPreferences.EnvironmentLaunchMode>
- Enclosing interface:
- IBslPreferences
public static enum IBslPreferences.EnvironmentLaunchMode extends Enum<IBslPreferences.EnvironmentLaunchMode>
Environment "Default run mode" for validation
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MANAGED_APP
MOBILE_APP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getModeIntValue()
Gets integer value corresponding to this enum valuestatic IBslPreferences.EnvironmentLaunchMode
getModeValue(int value)
GetsIBslPreferences.EnvironmentLaunchMode
by integer valuestatic IBslPreferences.EnvironmentLaunchMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static IBslPreferences.EnvironmentLaunchMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANAGED_APP
public static final IBslPreferences.EnvironmentLaunchMode MANAGED_APP
-
MOBILE_APP
public static final IBslPreferences.EnvironmentLaunchMode MOBILE_APP
-
-
Method Detail
-
values
public static IBslPreferences.EnvironmentLaunchMode[] 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 (IBslPreferences.EnvironmentLaunchMode c : IBslPreferences.EnvironmentLaunchMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IBslPreferences.EnvironmentLaunchMode 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
-
getModeValue
public static IBslPreferences.EnvironmentLaunchMode getModeValue(int value)
GetsIBslPreferences.EnvironmentLaunchMode
by integer value- Parameters:
value
- integer value for gettingIBslPreferences.EnvironmentLaunchMode
- Returns:
IBslPreferences.EnvironmentLaunchMode
corresponding to integer value, nevernull
-
getModeIntValue
public int getModeIntValue()
Gets integer value corresponding to this enum value- Returns:
- integer value corresponding to this enum value
-
-