public enum UpdateSchedule extends java.lang.Enum<UpdateSchedule>
UpdateScheduleRegistry
class.Enum Constant and Description |
---|
DAILY
UpdateScheduleRegistry.checkAndReset() always returns true after more than one day has passed since
the last update |
MONTHLY
UpdateScheduleRegistry.checkAndReset() always returns true after more than one month has passed since
the last update |
NEVER
UpdateScheduleRegistry.checkAndReset() always returns false |
ON_EVERY_START
UpdateScheduleRegistry.checkAndReset() always returns true |
WEEKLY
UpdateScheduleRegistry.checkAndReset() always returns true after more than one week has passed since
the last update |
Modifier and Type | Field and Description |
---|---|
static UpdateSchedule[] |
ALL_VALUES
Deprecated.
|
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() |
static UpdateSchedule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpdateSchedule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
Not needed since this class became an enum in install4j 6.
public static UpdateSchedule[] values()
for (UpdateSchedule c : UpdateSchedule.values()) System.out.println(c);
public static UpdateSchedule 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 namejava.lang.NullPointerException
- if the argument is nullpublic 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.Enum<UpdateSchedule>