Enum Class AdapterFailureMode
- All Implemented Interfaces:
Serializable, Comparable<AdapterFailureMode>, Constable
Failure condition that a compatibility harness can simulate or inspect.
The enum is immutable and thread-safe. Failure modes are generic and do not require any external broker, database, cloud service, workflow engine, or container runtime during J7M core validation.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuthorization hook denies the operation.Operation is cancelled before completion.Artifact payload or metadata is corrupted.Durable record or message is corrupted.Required credential is malformed or rejected.Required credential is absent.Operation is delivered or requested more than once.Adapter returns malformed or incomplete data.Target transport or endpoint is unavailable.Adapter or target refuses work because a limit was exceeded.Operation wrote only part of its intended durable state.Adapter cannot rebuild claimed durable state.Public status, error, evidence, or output leaks sensitive data.Fencing token is stale.Lease owner is stale.Operation exceeds its deadline.Requested capability is unsupported. -
Method Summary
Modifier and TypeMethodDescriptionstatic AdapterFailureModeReturns the enum constant of this class with the specified name.static AdapterFailureMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NETWORK_UNAVAILABLE
Target transport or endpoint is unavailable. -
PARTIAL_WRITE
Operation wrote only part of its intended durable state. -
CORRUPTED_RECORD
Durable record or message is corrupted. -
CORRUPTED_ARTIFACT
Artifact payload or metadata is corrupted. -
STALE_LEASE
Lease owner is stale. -
STALE_FENCING_TOKEN
Fencing token is stale. -
TIMEOUT
Operation exceeds its deadline. -
CANCELLATION
Operation is cancelled before completion. -
DUPLICATE_OPERATION
Operation is delivered or requested more than once. -
UNSUPPORTED_FEATURE
Requested capability is unsupported. -
OVERLOADED_TARGET
Adapter or target refuses work because a limit was exceeded. -
CREDENTIAL_MISSING
Required credential is absent. -
CREDENTIAL_INVALID
Required credential is malformed or rejected. -
AUTHORIZATION_DENIED
Authorization hook denies the operation. -
RECOVERY_FAILURE
Adapter cannot rebuild claimed durable state. -
MALFORMED_RESPONSE
Adapter returns malformed or incomplete data. -
REDACTION_FAILURE
Public status, error, evidence, or output leaks sensitive data.
-
-
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
-