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

@ShellComponent public class Version extends AbstractShellComponent
Command to list version and other build related infos.
  • Constructor Details

  • Method Details

    • version

      @ShellMethod(key="version", value="Show version info") public org.jline.utils.AttributedString version()
    • setBuildProperties

      public void setBuildProperties(org.springframework.boot.info.BuildProperties buildProperties)
    • setGitProperties

      public void setGitProperties(org.springframework.boot.info.GitProperties gitProperties)
    • setTemplate

      public void setTemplate(String template)
    • setShowBuildGroup

      public void setShowBuildGroup(boolean showBuildGroup)
    • setShowBuildArtifact

      public void setShowBuildArtifact(boolean showBuildArtifact)
    • setShowBuildName

      public void setShowBuildName(boolean showBuildName)
    • setShowBuildVersion

      public void setShowBuildVersion(boolean showBuildVersion)
    • setShowBuildTime

      public void setShowBuildTime(boolean showBuildTime)
    • setShowGitBranch

      public void setShowGitBranch(boolean showGitBranch)
    • setShowGitCommitId

      public void setShowGitCommitId(boolean showGitCommitId)
    • setShowGitShortCommitId

      public void setShowGitShortCommitId(boolean showGitShortCommitId)
    • setShowGitCommitTime

      public void setShowGitCommitTime(boolean showGitCommitTime)