|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<HrRecord.HarvestFrequency> com.esri.gpt.catalog.harvest.repository.HrRecord.HarvestFrequency
public static enum HrRecord.HarvestFrequency
Harvest frequency.
Enum Constant Summary | |
---|---|
BiWeekly
once every two weeks harvest. |
|
Dayly
once a day. |
|
Hourly
once a hour. |
|
Monthly
monthly harvest. |
|
Once
one harvest only scheduled. |
|
Skip
do not perform scheduled harvests. |
|
Weekly
once a week harvest. |
Method Summary | |
---|---|
static HrRecord.HarvestFrequency |
checkValueOf(String frequency)
Checks value of the frequency. |
Date |
getDueDate(Date lastDate)
Gets due date. |
static HrRecord.HarvestFrequency |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HrRecord.HarvestFrequency[] |
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 HrRecord.HarvestFrequency Monthly
public static final HrRecord.HarvestFrequency BiWeekly
public static final HrRecord.HarvestFrequency Weekly
public static final HrRecord.HarvestFrequency Dayly
public static final HrRecord.HarvestFrequency Hourly
public static final HrRecord.HarvestFrequency Once
public static final HrRecord.HarvestFrequency Skip
Method Detail |
---|
public static HrRecord.HarvestFrequency[] values()
for (HrRecord.HarvestFrequency c : HrRecord.HarvestFrequency.values()) System.out.println(c);
public static HrRecord.HarvestFrequency valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static HrRecord.HarvestFrequency checkValueOf(String frequency)
frequency
- value of frequency to parse
public Date getDueDate(Date lastDate)
lastDate
- date of the last harvest
null
if no next harvest
required
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |