- java.lang.Object
-
- java.lang.Enum<AnalyticsCategory>
-
- net.bis5.mattermost.client4.model.AnalyticsCategory
-
- All Implemented Interfaces:
Serializable,Comparable<AnalyticsCategory>
public enum AnalyticsCategory extends Enum<AnalyticsCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTRA_COUNTSPOST_COUNTS_DAYSTANDARDUSER_COUNTS_WITH_POSTS_DAY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()static AnalyticsCategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static AnalyticsCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final AnalyticsCategory STANDARD
-
POST_COUNTS_DAY
public static final AnalyticsCategory POST_COUNTS_DAY
-
USER_COUNTS_WITH_POSTS_DAY
public static final AnalyticsCategory USER_COUNTS_WITH_POSTS_DAY
-
EXTRA_COUNTS
public static final AnalyticsCategory EXTRA_COUNTS
-
-
Method Detail
-
values
public static AnalyticsCategory[] 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 (AnalyticsCategory c : AnalyticsCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalyticsCategory 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
-
getCode
public String getCode()
-
-