Annotation Interface ExitCodes
Annotation that indicates the exit codes section for a commands help
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint[]The exit codes that this command may return, meanings of the exit codes may be given using thedescriptions()property.String[]Descriptions of the meanings of the exit codes this command may return, the exit codes are given by thecodes()property.
-
Element Details
-
codes
int[] codesThe exit codes that this command may return, meanings of the exit codes may be given using thedescriptions()property. The data in these two properties is collated based on array indices.- Returns:
- Array of exit codes
- Default:
{}
-
descriptions
-