クラス Version
java.lang.ObjectSE
org.springframework.shell.core.command.AbstractCommand
org.springframework.shell.core.command.Version
- 実装済みのインターフェース一覧:
org.springframework.beans.factory.Aware、org.springframework.beans.factory.InitializingBean、org.springframework.context.ApplicationContextAware、Command
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
ネストされたクラスの概要
ネストされたクラスインターフェース org.springframework.shell.core.command.Command から継承されたネストクラス / インターフェース
Command.Builderコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明voiddoExecute(CommandContext commandContext) getHelp()コマンドのヘルプテキストを取得します。voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetBuildProperties(Version.BuildProperties buildProperties) voidsetGitProperties(Version.GitProperties gitProperties) クラス org.springframework.shell.core.command.AbstractCommand から継承されたメソッド
equals, execute, getAliases, getAvailabilityProvider, getCompletionProvider, getDescription, getExitStatusExceptionMapper, getGroup, getName, getOptions, hashCode, isHelp, isHidden, println, setAliases, setAvailabilityProvider, setCompletionProvider, setExitStatusExceptionMapper, setOptions
コンストラクターの詳細
Version
public Version()
メソッドの詳細
setBuildProperties
setGitProperties
getHelp
インターフェースからコピーされた説明:Commandコマンドのヘルプテキストを取得します。- 次で指定:
- インターフェース
CommandのgetHelp - オーバーライド:
- クラス
AbstractCommandのgetHelp - 戻り値:
- コマンドのヘルプテキスト
doExecute
- 次で指定:
- クラス
AbstractCommandのdoExecute - 例外:
ExceptionSE
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - 次で指定:
- インターフェース
org.springframework.context.ApplicationContextAwareのsetApplicationContext - 例外:
org.springframework.beans.BeansException
afterPropertiesSet
public void afterPropertiesSet()- 次で指定:
- インターフェース
org.springframework.beans.factory.InitializingBeanのafterPropertiesSet