@ShellComponent public class Stacktrace extends AbstractShellComponent
Modifier and Type | Class and Description |
---|---|
static interface |
Stacktrace.Command
Marker interface for beans providing stacktrace functionality to the shell.
|
Constructor and Description |
---|
Stacktrace(org.springframework.beans.factory.ObjectProvider<ThrowableResultHandler> throwableResultHandler) |
Modifier and Type | Method and Description |
---|---|
void |
stacktrace() |
afterPropertiesSet, getApplicationContext, getCommandCatalog, getCompletionResolver, getResourceLoader, getShell, getTemplateExecutor, getTerminal, getThemeResolver, setApplicationContext, setResourceLoader
public Stacktrace(org.springframework.beans.factory.ObjectProvider<ThrowableResultHandler> throwableResultHandler)
@ShellMethod(key="stacktrace", value="Display the full stacktrace of the last error.", interactionMode=INTERACTIVE) public void stacktrace()
Copyright © 2024. All rights reserved.