public class UpdateSchedule
extends java.lang.Object
UpdateScheduleRegistry
class.Modifier and Type | Field and Description |
---|---|
static UpdateSchedule[] |
ALL_VALUES
All values of UpdateSchedule for use in a drop-down list
|
static UpdateSchedule |
DAILY
UpdateScheduleRegistry.checkAndReset() always returns true after more than one day has passed since
the last update |
static UpdateSchedule |
MONTHLY
UpdateScheduleRegistry.checkAndReset() always returns true after more than one month has passed since
the last update |
static UpdateSchedule |
NEVER
UpdateScheduleRegistry.checkAndReset() always returns false |
static UpdateSchedule |
ON_EVERY_START
UpdateScheduleRegistry.checkAndReset() always returns true |
static UpdateSchedule |
WEEKLY
UpdateScheduleRegistry.checkAndReset() always returns true after more than one week has passed since
the last update |
Modifier and Type | Method and Description |
---|---|
static UpdateSchedule |
getById(java.lang.String id)
Returns the UpdateSchedule for a string ID.
|
java.lang.String |
getId()
Returns the string ID for the UpdateSchedule.
|
java.lang.String |
toString() |
public static final UpdateSchedule ON_EVERY_START
UpdateScheduleRegistry.checkAndReset()
always returns truepublic static final UpdateSchedule DAILY
UpdateScheduleRegistry.checkAndReset()
always returns true after more than one day has passed since
the last updatepublic static final UpdateSchedule WEEKLY
UpdateScheduleRegistry.checkAndReset()
always returns true after more than one week has passed since
the last updatepublic static final UpdateSchedule MONTHLY
UpdateScheduleRegistry.checkAndReset()
always returns true after more than one month has passed since
the last updatepublic static final UpdateSchedule NEVER
UpdateScheduleRegistry.checkAndReset()
always returns falsepublic static final UpdateSchedule[] ALL_VALUES
public static UpdateSchedule getById(java.lang.String id)
getId()
}.id
- the IDpublic java.lang.String getId()
getById(String)
} method.public java.lang.String toString()
toString
in class java.lang.Object