Enum ProjectInfoWidget
- java.lang.Object
-
- java.lang.Enum<ProjectInfoWidget>
-
- com.epam.ta.reportportal.entity.project.email.ProjectInfoWidget
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ProjectInfoWidget>
public enum ProjectInfoWidget extends java.lang.Enum<ProjectInfoWidget>
Enumerator with project information widget types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVITIESBUGS_PERCENTAGECASES_STATISTICINVESTIGATEDISSUES_CHARTLAST_LAUNCHLAUNCHES_QUANTITY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<ProjectInfoWidget>findByCode(java.lang.String code)java.lang.StringgetWidgetCode()static ProjectInfoWidgetvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ProjectInfoWidget[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVESTIGATED
public static final ProjectInfoWidget INVESTIGATED
-
CASES_STATISTIC
public static final ProjectInfoWidget CASES_STATISTIC
-
LAUNCHES_QUANTITY
public static final ProjectInfoWidget LAUNCHES_QUANTITY
-
ISSUES_CHART
public static final ProjectInfoWidget ISSUES_CHART
-
BUGS_PERCENTAGE
public static final ProjectInfoWidget BUGS_PERCENTAGE
-
ACTIVITIES
public static final ProjectInfoWidget ACTIVITIES
-
LAST_LAUNCH
public static final ProjectInfoWidget LAST_LAUNCH
-
-
Method Detail
-
values
public static ProjectInfoWidget[] 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 (ProjectInfoWidget c : ProjectInfoWidget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectInfoWidget 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
-
getWidgetCode
public java.lang.String getWidgetCode()
-
findByCode
public static java.util.Optional<ProjectInfoWidget> findByCode(java.lang.String code)
-
-