Enum KeepLogsDelay
- java.lang.Object
-
- java.lang.Enum<KeepLogsDelay>
-
- com.epam.ta.reportportal.entity.enums.KeepLogsDelay
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<KeepLogsDelay>
public enum KeepLogsDelay extends java.lang.Enum<KeepLogsDelay>
Keep Launches Delay project parameter enumerator
Describe possible values for 'Keep launches' parameter on UI project page
-
-
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<KeepLogsDelay>findByName(java.lang.String name)longgetDays()java.lang.StringgetValue()static booleanisPresent(java.lang.String name)static KeepLogsDelayvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static KeepLogsDelay[]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 KeepLogsDelay TWO_WEEKS
-
ONE_MONTH
public static final KeepLogsDelay ONE_MONTH
-
THREE_MONTHS
public static final KeepLogsDelay THREE_MONTHS
-
SIX_MONTHS
public static final KeepLogsDelay SIX_MONTHS
-
FOREVER
public static final KeepLogsDelay FOREVER
-
-
Method Detail
-
values
public static KeepLogsDelay[] 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 (KeepLogsDelay c : KeepLogsDelay.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeepLogsDelay 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<KeepLogsDelay> findByName(java.lang.String name)
-
isPresent
public static boolean isPresent(java.lang.String name)
-
-