クラス Clear

java.lang.ObjectSE
org.springframework.shell.core.command.Clear
実装されているすべてのインターフェース:
Command

public class Clear extends ObjectSE implements Command
ANSI コンソールクリアコマンド。
作成者:
Eric Bottard, Janne Valkealahti, Mahmoud Ben Hassine
  • コンストラクターの詳細

    • Clear

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

    • getDescription

      public StringSE getDescription()
      インターフェースからコピーされた説明: Command
      コマンドの簡単な説明を取得します。
      次で指定:
      インターフェース CommandgetDescription 
      戻り値:
      コマンドの説明
    • getGroup

      public StringSE getGroup()
      インターフェースからコピーされた説明: Command
      コマンドのグループを取得します。
      次で指定:
      インターフェース CommandgetGroup 
      戻り値:
      コマンドのグループ
    • execute

      public ExitStatus execute(CommandContext commandContext) throws ExceptionSE
      インターフェースからコピーされた説明: Command
      指定されたコンテキスト内でコマンドを実行します。
      次で指定:
      インターフェース Commandexecute 
      パラメーター:
      commandContext - コマンドのコンテキスト
      戻り値:
      コマンドの終了ステータス
      例外:
      ExceptionSE