JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Summary:
Field |
Optional
|
Required
Detail:
Field |
Element
SEARCH:
Package
org.springframework.shell.command.annotation
Annotation Interface ExitCode
@Retention
(
RUNTIME
)
@Target
(
METHOD
)
@Documented
@Reflective
public @interface
ExitCode
Defines exit code. Typically used with
ExceptionResolver
.
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
int
code
Exit code value.
int
value
Exit code value.
Element Details
value
@AliasFor("code")
int
value
Exit code value.
Returns:
exit code
See Also:
code()
Default:
0
code
@AliasFor("value")
int
code
Exit code value.
Returns:
exit code
See Also:
value()
Default:
0