Enum TestParserTaskExporter.TestParserType
- java.lang.Object
-
- java.lang.Enum<TestParserTaskExporter.TestParserType>
-
- com.atlassian.bamboo.plugins.testresultparser.task.exporter.TestParserTaskExporter.TestParserType
-
- All Implemented Interfaces:
Serializable,Comparable<TestParserTaskExporter.TestParserType>
- Enclosing class:
- TestParserTaskExporter
public static enum TestParserTaskExporter.TestParserType extends Enum<TestParserTaskExporter.TestParserType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull Optional<TestParserTaskExporter.TestParserType>fromValue(@NotNull String value)@NotNull StringgetValue()static TestParserTaskExporter.TestParserTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TestParserTaskExporter.TestParserType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JUNIT
public static final TestParserTaskExporter.TestParserType JUNIT
-
NUNIT
public static final TestParserTaskExporter.TestParserType NUNIT
-
TESTNG
public static final TestParserTaskExporter.TestParserType TESTNG
-
MOCHA
public static final TestParserTaskExporter.TestParserType MOCHA
-
MSTEST
public static final TestParserTaskExporter.TestParserType MSTEST
-
-
Method Detail
-
values
public static TestParserTaskExporter.TestParserType[] 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 (TestParserTaskExporter.TestParserType c : TestParserTaskExporter.TestParserType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestParserTaskExporter.TestParserType 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
-
fromValue
@NotNull public static @NotNull Optional<TestParserTaskExporter.TestParserType> fromValue(@NotNull @NotNull String value)
-
getValue
@NotNull public @NotNull String getValue()
-
-