Interface ExitCodeMappings


public interface ExitCodeMappings
Interface used with implementation of a boot's ExitCodeExceptionMapper in a context of spring-shell spesific one. Mostly needed not to have a direct dependencies to boot classes as currently only one implementation instance can exist which we need to reset between command executions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reset mappings into a given functions.
  • Method Details

    • reset

      void reset(List<Function<Throwable,Integer>> functions)
      Reset mappings into a given functions.
      Parameters:
      functions - the mapping functions