Enum SendCase
- java.lang.Object
-
- java.lang.Enum<SendCase>
-
- com.epam.ta.reportportal.entity.enums.SendCase
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<SendCase>findByName(java.lang.String name)java.lang.StringgetCaseString()static booleanisPresent(java.lang.String name)static SendCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SendCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final SendCase ALWAYS
-
FAILED
public static final SendCase FAILED
-
TO_INVESTIGATE
public static final SendCase TO_INVESTIGATE
-
MORE_10
public static final SendCase MORE_10
-
MORE_20
public static final SendCase MORE_20
-
MORE_50
public static final SendCase MORE_50
-
-
Method Detail
-
values
public static SendCase[] 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 (SendCase c : SendCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SendCase valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
findByName
public static java.util.Optional<SendCase> findByName(java.lang.String name)
-
isPresent
public static boolean isPresent(java.lang.String name)
-
getCaseString
public java.lang.String getCaseString()
-
-