|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<PollingService.PollingTypes>
jhomenet.hw.pollers.PollingService.PollingTypes
public static enum PollingService.PollingTypes
Define the different polling types. The current polling service only will poll on the defined polling intervals.
| Enum Constant Summary | |
|---|---|
FiveMinutes
|
|
OneHour
|
|
OneMinute
|
|
TenSeconds
|
|
ThirtyMinutes
|
|
TwelveHours
|
|
| Method Summary | |
|---|---|
long |
getMS()
Get the polling type interval in milliseconds. |
java.lang.String |
toString()
Return a string representation of the polling type. |
static PollingService.PollingTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PollingService.PollingTypes[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PollingService.PollingTypes TenSeconds
public static final PollingService.PollingTypes OneMinute
public static final PollingService.PollingTypes FiveMinutes
public static final PollingService.PollingTypes ThirtyMinutes
public static final PollingService.PollingTypes OneHour
public static final PollingService.PollingTypes TwelveHours
| Method Detail |
|---|
public static final PollingService.PollingTypes[] values()
for(PollingService.PollingTypes c : PollingService.PollingTypes.values())
System.out.println(c);
public static PollingService.PollingTypes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString in class java.lang.Enum<PollingService.PollingTypes>public long getMS()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||