Interface JarMode
public interface JarMode
Interface registered in
spring.factories to provides extended 'jarmode'
support.- Since:
- 2.3.0
- Author:
- Phillip Webb
-
Method Summary
-
Method Details
-
accepts
Returns if this accepts and can run the given mode.- Parameters:
mode- the mode to check- Returns:
- if this instance accepts the mode
-
run
Run the jar in the given mode.- Parameters:
mode- the mode to useargs- any program arguments- Throws:
JarModeErrorException- on an error that should print a simple error message
-