クラス Version

実装済みのインターフェース一覧:
org.springframework.beans.factory.Awareorg.springframework.beans.factory.InitializingBeanorg.springframework.context.ApplicationContextAwareCommand

public class Version extends AbstractCommand implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
Spring Shell の現在のバージョンを出力するコマンド。
作成者:
Janne Valkealahti, Mahmoud Ben Hassine, Piotr Olaszewski, David Pilar
  • コンストラクターの詳細

    • Version

      public Version()
  • メソッドの詳細

    • setBuildProperties

      public void setBuildProperties(Version.BuildProperties buildProperties)
    • setGitProperties

      public void setGitProperties(Version.GitProperties gitProperties)
    • getHelp

      public StringSE getHelp()
      インターフェースからコピーされた説明: Command
      コマンドのヘルプテキストを取得します。
      次で指定:
      インターフェース CommandgetHelp 
      オーバーライド:
      クラス AbstractCommandgetHelp 
      戻り値:
      コマンドのヘルプテキスト
    • doExecute

      public ExitStatus doExecute(CommandContext commandContext) throws ExceptionSE
      次で指定:
      クラス AbstractCommanddoExecute 
      例外:
      ExceptionSE
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      次で指定:
      インターフェース org.springframework.context.ApplicationContextAwaresetApplicationContext 
      例外:
      org.springframework.beans.BeansException
    • afterPropertiesSet

      public void afterPropertiesSet()
      次で指定:
      インターフェース org.springframework.beans.factory.InitializingBeanafterPropertiesSet