public static enum Result.Type extends Enum<Result.Type>
Enum Constant and Description |
---|
AMBIGUOUS |
FAILED |
PASSED |
PENDING |
SKIPPED |
UNDEFINED |
UNUSED |
Modifier and Type | Method and Description |
---|---|
String |
firstLetterCapitalizedName() |
static Result.Type |
fromLowerCaseName(String lowerCaseName) |
String |
lowerCaseName() |
static Result.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Result.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Result.Type PASSED
public static final Result.Type SKIPPED
public static final Result.Type PENDING
public static final Result.Type UNDEFINED
public static final Result.Type AMBIGUOUS
public static final Result.Type FAILED
public static final Result.Type UNUSED
public static Result.Type[] values()
for (Result.Type c : Result.Type.values()) System.out.println(c);
public static Result.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Result.Type fromLowerCaseName(String lowerCaseName)
public String lowerCaseName()
public String firstLetterCapitalizedName()
Copyright © 2019. All rights reserved.