Class NonMessageExitStatus
java.lang.Object
gov.nist.secauto.metaschema.cli.processor.AbstractExitStatus
gov.nist.secauto.metaschema.cli.processor.NonMessageExitStatus
- All Implemented Interfaces:
ExitStatus
An
ExitStatus
implementation that represents a status without an
associated message.
This implementation is useful when only the exit code needs to be communicated, without additional context or explanation.
-
Method Summary
Modifier and TypeMethodDescriptionGet the associated message, ornull
if there is no message.Methods inherited from class gov.nist.secauto.metaschema.cli.processor.AbstractExitStatus
generateMessage, getExitCode, getThrowable, withThrowable
-
Method Details
-
getMessage
Get the associated message, ornull
if there is no message.- Returns:
null
as this implementation does not support messages
-