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
Methods inherited from class gov.nist.secauto.metaschema.cli.processor.AbstractExitStatus
generateMessage, getExitCode, getThrowable, withThrowable
-
Method Details
-
getMessage
Get the associated message.- Specified by:
getMessage
in classAbstractExitStatus
- Returns:
null
as this implementation does not support messages
-