|
1-Wire Weather Service for Java -- Server API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Precipitation.Interval>
wxservice.sensor.data.Precipitation.Interval
static enum Precipitation.Interval
Enumeration of rainfall accumulation udpate intervals.
Enum Constant Summary | |
---|---|
annually
Reset rain reference file annually. |
|
daily
Reset rain reference file daily. |
|
manual
Reset rain reference file manually. |
|
monthly
Reset rain reference file monthly. |
|
weekly
Reset rain reference file weekly. |
Field Summary | |
---|---|
(package private) int |
interval
Update interval in milliseconds. |
(package private) long |
lifetime
Milliseconds for reference file to remain valid. |
(package private) int |
selector
Calendar field selector. |
(package private) int |
trigger
Trigger update time (days or hours). |
Method Summary | |
---|---|
(package private) int |
schedule(int trigger)
Schedules the next trigger for each enum type. |
static Precipitation.Interval |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Precipitation.Interval[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Precipitation.Interval annually
public static final Precipitation.Interval monthly
public static final Precipitation.Interval weekly
public static final Precipitation.Interval manual
public static final Precipitation.Interval daily
Field Detail |
---|
final long lifetime
final int selector
int interval
int trigger
Method Detail |
---|
public static Precipitation.Interval[] values()
for (Precipitation.Interval c : Precipitation.Interval.values()) System.out.println(c);
public static Precipitation.Interval 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 name
java.lang.NullPointerException
- if the argument is nullint schedule(int trigger)
trigger
- (days or hours).
|
Copyright © 2005-2007 Karl Uppiano | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |