|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ChannelUpdatePeriod> de.nava.informa.core.ChannelUpdatePeriod
public enum ChannelUpdatePeriod
Enum Constant Summary | |
---|---|
UPDATE_DAILY
Update of channel expected to be specified in number of days |
|
UPDATE_HOURLY
Update of channel expected to be specified in number of hours |
|
UPDATE_MONTHLY
Update of channel expected to be specified in number of months |
|
UPDATE_WEEKLY
Update of channel expected to be specified in number of weeks |
|
UPDATE_YEARLY
Update of channel expected to be specified in number of years |
Method Summary | |
---|---|
int |
getMinutesInPeriod()
|
long |
getMsInPeriod()
|
String |
toString()
|
static ChannelUpdatePeriod |
valueFromText(String text)
|
static ChannelUpdatePeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ChannelUpdatePeriod[] |
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 ChannelUpdatePeriod UPDATE_HOURLY
public static final ChannelUpdatePeriod UPDATE_DAILY
public static final ChannelUpdatePeriod UPDATE_WEEKLY
public static final ChannelUpdatePeriod UPDATE_MONTHLY
public static final ChannelUpdatePeriod UPDATE_YEARLY
Method Detail |
---|
public static final ChannelUpdatePeriod[] values()
for(ChannelUpdatePeriod c : ChannelUpdatePeriod.values()) System.out.println(c);
public static ChannelUpdatePeriod valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String toString()
toString
in class Enum<ChannelUpdatePeriod>
Enum.toString()
public long getMsInPeriod()
public int getMinutesInPeriod()
public static ChannelUpdatePeriod valueFromText(String text)
text
- Text representation of the period.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |