Enum Class Execution
- All Implemented Interfaces:
Serializable, Comparable<Execution>, Constable
Where a page's renderer or an action's handler runs. Prism threads its regions: the thread of the
global region owns world-wide state (the time, the weather, commands from the console), the thread
of each region owns its chunks and entities. To change an entity, an action goes to its thread with
ActionContext.entity(Entity, Supplier).-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
GLOBAL
The global region thread, between two of its ticks, as a command from the console. -
ASYNC
A thread of the plugin's own, off the server's: for what the plugin keeps in memory, files, a database.
-
-
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
-