Interface CommandExitCode
- All Known Implementing Classes:
 CommandExitCode.DefaultCommandExitCode
public interface CommandExitCode
Interface representing an exit code in a command.
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionGets a function mappings from exceptions to exit codes.static CommandExitCodeof()Gets an instance of a defaultCommandExitCode.static CommandExitCodeGets an instance of a defaultCommandExitCode. 
- 
Method Details
- 
getMappingFunctions
Gets a function mappings from exceptions to exit codes.- Returns:
 - function mappings
 
 - 
of
Gets an instance of a defaultCommandExitCode.- Returns:
 - a command exit code
 
 - 
of
Gets an instance of a defaultCommandExitCode.- Parameters:
 functions- the function mappings- Returns:
 - a command exit code
 
 
 -