Class StateUnsealResult
java.lang.Object
com.revetsec.StateUnsealResult
- Direct Known Subclasses:
StateUnsealResult.Rejected, StateUnsealResult.Succeeded
@Immutable
public abstract sealed class StateUnsealResult
extends Object
permits StateUnsealResult.Succeeded, StateUnsealResult.Rejected
The outcome of opening sealed application state. Every opening failure has the same rejected outcome.
Applications receive these outcomes from the corresponding operation; they cannot construct them. Value accessors exist only on the variant that owns a value. Diagnostic text contains no input or result data. A later release may add variants; consuming switches should include a rejecting default branch.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe state could not be opened.static final classThe state authenticated for the context and its lifetime has not ended. -
Method Summary
-
Method Details
-
toString
-