public static enum StatusReport.ReportFrequency extends Enum<StatusReport.ReportFrequency>
| Enum Constant and Description |
|---|
FIFTEEN_MINUTE
Report every fifteen minutes.
|
FIVE_MINUTE
Report every five minutes.
|
HOURLY
Report every sixty minutes.
|
TEN_MINUTE
Report every ten minutes.
|
THIRTY_MINUTE
Report every thirty minutes.
|
TWENTY_MINUTE
Report every twenty minutes.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getFrequency()
Returns the report frequency in milliseconds.
|
static StatusReport.ReportFrequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusReport.ReportFrequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusReport.ReportFrequency FIVE_MINUTE
public static final StatusReport.ReportFrequency TEN_MINUTE
public static final StatusReport.ReportFrequency FIFTEEN_MINUTE
public static final StatusReport.ReportFrequency TWENTY_MINUTE
public static final StatusReport.ReportFrequency THIRTY_MINUTE
public static final StatusReport.ReportFrequency HOURLY
public static StatusReport.ReportFrequency[] values()
for (StatusReport.ReportFrequency c : StatusReport.ReportFrequency.values()) System.out.println(c);
public static StatusReport.ReportFrequency 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 long getFrequency()
Copyright © 2019. All rights reserved.