Class Stacktrace
java.lang.Object
org.springframework.shell.standard.AbstractShellComponent
org.springframework.shell.standard.commands.Stacktrace
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
,org.springframework.context.ResourceLoaderAware
A command to display the full stacktrace when an error occurs.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Marker interface for beans providing stacktrace functionality to the shell. -
Constructor Summary
ConstructorDescriptionStacktrace
(org.springframework.beans.factory.ObjectProvider<ThrowableResultHandler> throwableResultHandler) -
Method Summary
Methods inherited from class org.springframework.shell.standard.AbstractShellComponent
afterPropertiesSet, getApplicationContext, getCommandCatalog, getCompletionResolver, getResourceLoader, getShell, getTemplateExecutor, getTerminal, getThemeResolver, setApplicationContext, setResourceLoader
-
Constructor Details
-
Stacktrace
public Stacktrace(org.springframework.beans.factory.ObjectProvider<ThrowableResultHandler> throwableResultHandler)
-
-
Method Details
-
stacktrace
@ShellMethod(key="stacktrace", value="Display the full stacktrace of the last error.", interactionMode=INTERACTIVE) public void stacktrace()
-