Enum KeepLaunchDelay
- java.lang.Object
-
- java.lang.Enum<KeepLaunchDelay>
-
- com.epam.ta.reportportal.entity.enums.KeepLaunchDelay
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<KeepLaunchDelay>
public enum KeepLaunchDelay extends java.lang.Enum<KeepLaunchDelay>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FOREVERONE_MONTHSIX_MONTHSTHREE_MONTHSTWO_WEEKS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<KeepLaunchDelay>findByName(java.lang.String name)longgetDays()java.lang.StringgetValue()static booleanisPresent(java.lang.String name)static KeepLaunchDelayvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static KeepLaunchDelay[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TWO_WEEKS
public static final KeepLaunchDelay TWO_WEEKS
-
ONE_MONTH
public static final KeepLaunchDelay ONE_MONTH
-
THREE_MONTHS
public static final KeepLaunchDelay THREE_MONTHS
-
SIX_MONTHS
public static final KeepLaunchDelay SIX_MONTHS
-
FOREVER
public static final KeepLaunchDelay FOREVER
-
-
Method Detail
-
values
public static KeepLaunchDelay[] 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 (KeepLaunchDelay c : KeepLaunchDelay.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeepLaunchDelay 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
-
getValue
public java.lang.String getValue()
-
getDays
public long getDays()
-
findByName
public static java.util.Optional<KeepLaunchDelay> findByName(java.lang.String name)
-
isPresent
public static boolean isPresent(java.lang.String name)
-
-