Class Version
java.lang.Object
org.springframework.shell.standard.AbstractShellComponent
org.springframework.shell.standard.commands.Version
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ResourceLoaderAware
Command to list version and other build related infos.
- Author:
- Janne Valkealahti, Mahmoud Ben Hassine
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceMarker interface used in auto-config. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetTemplate(String template) org.jline.utils.AttributedStringversion()Methods inherited from class org.springframework.shell.standard.AbstractShellComponent
afterPropertiesSet, getApplicationContext, getCommandCatalog, getCompletionResolver, getResourceLoader, getShell, getTemplateExecutor, getTerminal, getThemeResolver, getViewComponentBuilder, setApplicationContext, setResourceLoader
-
Constructor Details
-
Version
-
-
Method Details
-
version
@ShellMethod(key="version", value="Show version info") public org.jline.utils.AttributedString version() -
setTemplate
-