|
install4j API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.install4j.api.update.UpdateSchedule
public class UpdateSchedule
Enumeration class that represents the different update schedules. These values are used in the
UpdateScheduleRegistry
class.
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final UpdateSchedule ON_EVERY_START
UpdateScheduleRegistry.checkAndReset()
always returns true
public static final UpdateSchedule DAILY
UpdateScheduleRegistry.checkAndReset()
always returns true after more than one day has passed since
the last update
public static final UpdateSchedule WEEKLY
UpdateScheduleRegistry.checkAndReset()
always returns true after more than one week has passed since
the last update
public static final UpdateSchedule MONTHLY
UpdateScheduleRegistry.checkAndReset()
always returns true after more than one month has passed since
the last update
public static final UpdateSchedule NEVER
UpdateScheduleRegistry.checkAndReset()
always returns false
public static final UpdateSchedule[] ALL_VALUES
Method Detail |
---|
public static UpdateSchedule getById(java.lang.String id)
getId()
}.
id
- the ID
public java.lang.String getId()
getById(String)
} method.
public java.lang.String toString()
toString
in class java.lang.Object
|
install4j API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |