Enum Class OperationKind
- All Implemented Interfaces:
Serializable, Comparable<OperationKind>, Constable
The kind is assigned when a request is accepted and remains attached to its handle, result, and events. It describes the action rather than the current planning, preflight, storage, or block-writing stage.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreates a new maze from a request and a current configured preset.Removes a maze by restoring terrain or clearing its bounded volume.Rebuilds an existing maze using its frozen preset and a supplied seed.Repairs planned non-air structure using the existing seed and topology. -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationKindReturns the enum constant of this class with the specified name.static OperationKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE
Creates a new maze from a request and a current configured preset.The operation reserves a new identifier, plans topology, performs preflight, and optionally captures original terrain before writing the structure.
-
REGENERATE
Rebuilds an existing maze using its frozen preset and a supplied seed.The full structure is reapplied. Any original terrain snapshot is retained for a later restore rather than recaptured from the existing maze.
-
REPAIR
Repairs planned non-air structure using the existing seed and topology.Planned air positions are skipped to preserve passage contents. Repair uses the regeneration permission and ownership rules.
-
DELETE
Removes a maze by restoring terrain or clearing its bounded volume.Successful removal deletes the saved record. Its result retains an immutable description with the DELETED status for listeners and completion callbacks.
-
-
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
-