Module com.github.rvesse.airline
Annotation Type ExitCodes
-
@Retention(RUNTIME) @Target(TYPE) @Documented public @interface ExitCodesAnnotation that indicates the exit codes section for a commands help
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int[]codesThe exit codes that this command may return, meanings of the exit codes may be given using thedescriptions()property.java.lang.String[]descriptionsDescriptions of the meanings of the exit codes this command may return, the exit codes are given by thecodes()property.
-
-
-
Element Detail
-
codes
int[] codes
The 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
java.lang.String[] descriptions
Descriptions of the meanings of the exit codes this command may return, the exit codes are given by thecodes()property. The data in these two properties is collated based on array indices.- Returns:
- Exit Codes descriptions
- Default:
- {}
-
-