Enum AutomatedTestingMode
- java.lang.Object
-
- java.lang.Enum<AutomatedTestingMode>
-
- com._1c.g5.v8.dt.platform.services.core.runtimes.execution.AutomatedTestingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<AutomatedTestingMode>
public enum AutomatedTestingMode extends Enum<AutomatedTestingMode>
The mode of the automamated testing launch setting.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TEST_CLIENT_MODE
Automated testing run as test clientTEST_MANAGER_MODE
Automated testing run as test manager
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomatedTestingMode
get(String attribute)
GetAutomatedTestingMode
by string specified attributeString
getMode()
Get string representation for automated testing modestatic AutomatedTestingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AutomatedTestingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEST_MANAGER_MODE
public static final AutomatedTestingMode TEST_MANAGER_MODE
Automated testing run as test manager
-
TEST_CLIENT_MODE
public static final AutomatedTestingMode TEST_CLIENT_MODE
Automated testing run as test client
-
-
Method Detail
-
values
public static AutomatedTestingMode[] 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 (AutomatedTestingMode c : AutomatedTestingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutomatedTestingMode 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
-
get
public static AutomatedTestingMode get(String attribute)
GetAutomatedTestingMode
by string specified attribute- Parameters:
attribute
- string specified to getAutomatedTestingMode
, can benull
- Returns:
AutomatedTestingMode
by string specified attribute ornull
in otherwise
-
getMode
public String getMode()
Get string representation for automated testing mode- Returns:
- automated testing mode, can be
null
-
-