Enum Class UpdateTrigger
- All Implemented Interfaces:
Serializable,Comparable<UpdateTrigger>,Constable
Why an update pass runs; exposed through
UpdateContext.trigger().-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExplicitViewContext.update()or service-driven update.A pagination page settled (success, failure or timeout).Scheduled tick update configured viaViewConfigBuilder.scheduleUpdate(long).Coalesced flush after one or more state tokens changed viaMutableStateorSharedState. -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateTriggerReturns the enum constant of this class with the specified name.static UpdateTrigger[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCHEDULED
Scheduled tick update configured viaViewConfigBuilder.scheduleUpdate(long). -
STATE_CHANGE
Coalesced flush after one or more state tokens changed viaMutableStateorSharedState. -
EXPLICIT
ExplicitViewContext.update()or service-driven update. -
PAGINATION_SETTLE
A pagination page settled (success, failure or timeout).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-