@Component public class VersionCommands extends java.lang.Object implements CommandMarker, org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
VersionCommands() |
Modifier and Type | Method and Description |
---|---|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
java.lang.String |
version() |
@CliCommand(value="version", help="Displays shell version") public java.lang.String version()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException