public static enum RepositoryAnalyticsDetails.AggregationDuration extends Enum<RepositoryAnalyticsDetails.AggregationDuration> implements BmcEnum
Metrics aggregated for the defined period.
Modifier and Type | Method and Description |
---|---|
static RepositoryAnalyticsDetails.AggregationDuration |
create(String key) |
String |
getValue() |
static RepositoryAnalyticsDetails.AggregationDuration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryAnalyticsDetails.AggregationDuration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryAnalyticsDetails.AggregationDuration Daily
public static final RepositoryAnalyticsDetails.AggregationDuration Weekly
public static final RepositoryAnalyticsDetails.AggregationDuration Monthly
public static final RepositoryAnalyticsDetails.AggregationDuration Yearly
public static RepositoryAnalyticsDetails.AggregationDuration[] values()
for (RepositoryAnalyticsDetails.AggregationDuration c : RepositoryAnalyticsDetails.AggregationDuration.values()) System.out.println(c);
public static RepositoryAnalyticsDetails.AggregationDuration valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static RepositoryAnalyticsDetails.AggregationDuration create(String key)
Copyright © 2016–2024. All rights reserved.