Enum InsightReportData.DataType
- java.lang.Object
-
- java.lang.Enum<InsightReportData.DataType>
-
- com.cdancy.bitbucket.rest.domain.insights.InsightReportData.DataType
-
- All Implemented Interfaces:
Serializable,Comparable<InsightReportData.DataType>
- Enclosing class:
- InsightReportData
public static enum InsightReportData.DataType extends Enum<InsightReportData.DataType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InsightReportData.DataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static InsightReportData.DataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final InsightReportData.DataType BOOLEAN
-
DATE
public static final InsightReportData.DataType DATE
-
DURATION
public static final InsightReportData.DataType DURATION
-
LINK
public static final InsightReportData.DataType LINK
-
NUMBER
public static final InsightReportData.DataType NUMBER
-
PERCENTAGE
public static final InsightReportData.DataType PERCENTAGE
-
TEXT
public static final InsightReportData.DataType TEXT
-
-
Method Detail
-
values
public static InsightReportData.DataType[] 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 (InsightReportData.DataType c : InsightReportData.DataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InsightReportData.DataType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-