Package io.cucumber.teamcityformatter
Enum MessagesToTeamCityWriter.TeamCityFeature
- java.lang.Object
-
- java.lang.Enum<MessagesToTeamCityWriter.TeamCityFeature>
-
- io.cucumber.teamcityformatter.MessagesToTeamCityWriter.TeamCityFeature
-
- All Implemented Interfaces:
Serializable,Comparable<MessagesToTeamCityWriter.TeamCityFeature>
- Enclosing class:
- MessagesToTeamCityWriter
public static enum MessagesToTeamCityWriter.TeamCityFeature extends Enum<MessagesToTeamCityWriter.TeamCityFeature>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PRINT_TEST_CASES_AFTER_TEST_RUNPrints all test cases messages after the test run has concluded.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessagesToTeamCityWriter.TeamCityFeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static MessagesToTeamCityWriter.TeamCityFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRINT_TEST_CASES_AFTER_TEST_RUN
public static final MessagesToTeamCityWriter.TeamCityFeature PRINT_TEST_CASES_AFTER_TEST_RUN
Prints all test cases messages after the test run has concluded.The TeamCity message protocol does not support parallel execution. By printing these events at the end the output is still intelligible.
-
-
Method Detail
-
values
public static MessagesToTeamCityWriter.TeamCityFeature[] 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 (MessagesToTeamCityWriter.TeamCityFeature c : MessagesToTeamCityWriter.TeamCityFeature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessagesToTeamCityWriter.TeamCityFeature 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
-
-