Enum ProjectAttributeEnum
- java.lang.Object
-
- java.lang.Enum<ProjectAttributeEnum>
-
- com.epam.ta.reportportal.entity.enums.ProjectAttributeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ProjectAttributeEnum>
public enum ProjectAttributeEnum extends java.lang.Enum<ProjectAttributeEnum>
Enum with a list of basic required project parameters
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProjectAttributeEnum.Prefix
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_ANALYZER_ENABLEDAUTO_ANALYZER_MODEAUTO_PATTERN_ANALYZER_ENABLEDINDEXING_RUNNINGINTERRUPT_JOB_TIMEKEEP_LAUNCHESKEEP_LOGSKEEP_SCREENSHOTSMIN_SHOULD_MATCHNOTIFICATIONS_ENABLEDNUMBER_OF_LOG_LINES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<ProjectAttributeEnum>findByAttributeName(java.lang.String attributeName)java.lang.StringgetAttribute()java.lang.StringgetDefaultValue()static booleanisPresent(java.lang.String name)static ProjectAttributeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ProjectAttributeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOTIFICATIONS_ENABLED
public static final ProjectAttributeEnum NOTIFICATIONS_ENABLED
-
INTERRUPT_JOB_TIME
public static final ProjectAttributeEnum INTERRUPT_JOB_TIME
-
KEEP_LAUNCHES
public static final ProjectAttributeEnum KEEP_LAUNCHES
-
KEEP_LOGS
public static final ProjectAttributeEnum KEEP_LOGS
-
KEEP_SCREENSHOTS
public static final ProjectAttributeEnum KEEP_SCREENSHOTS
-
MIN_SHOULD_MATCH
public static final ProjectAttributeEnum MIN_SHOULD_MATCH
-
NUMBER_OF_LOG_LINES
public static final ProjectAttributeEnum NUMBER_OF_LOG_LINES
-
INDEXING_RUNNING
public static final ProjectAttributeEnum INDEXING_RUNNING
-
AUTO_PATTERN_ANALYZER_ENABLED
public static final ProjectAttributeEnum AUTO_PATTERN_ANALYZER_ENABLED
-
AUTO_ANALYZER_ENABLED
public static final ProjectAttributeEnum AUTO_ANALYZER_ENABLED
-
AUTO_ANALYZER_MODE
public static final ProjectAttributeEnum AUTO_ANALYZER_MODE
-
-
Method Detail
-
values
public static ProjectAttributeEnum[] 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 (ProjectAttributeEnum c : ProjectAttributeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectAttributeEnum 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
-
findByAttributeName
public static java.util.Optional<ProjectAttributeEnum> findByAttributeName(java.lang.String attributeName)
-
isPresent
public static boolean isPresent(java.lang.String name)
-
getAttribute
public java.lang.String getAttribute()
-
getDefaultValue
public java.lang.String getDefaultValue()
-
-