Package ke.ric.renderer.api
Enum Class RenderStatus
- All Implemented Interfaces:
Serializable,Comparable<RenderStatus>,Constable
Coarse lifecycle state for an asynchronous render task.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCancellation won the terminal transition.The task completed exceptionally for another reason.Admitted and waiting for provider work.Preparation, native rendering, diagnostics, or copying is in progress.An immutable result completed successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderStatusReturns the enum constant of this class with the specified name.static RenderStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUEUED
Admitted and waiting for provider work. -
RUNNING
Preparation, native rendering, diagnostics, or copying is in progress. -
SUCCEEDED
An immutable result completed successfully. -
CANCELLED
Cancellation won the terminal transition. -
FAILED
The task completed exceptionally for another reason.
-
-
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
-