クラス ConfigurableSystemProcessExitCodeMapper

java.lang.ObjectSE
org.springframework.batch.core.step.tasklet.ConfigurableSystemProcessExitCodeMapper
実装されたすべてのインターフェース:
SystemProcessExitCodeMapper

public class ConfigurableSystemProcessExitCodeMapper extends ObjectSE implements SystemProcessExitCodeMapper
挿入されたマップに従って、終了コードを ExitStatus にマップします。挿入されたマップには "else" キーの値が含まれている必要があります。挿入されたマップにシステムプロセスによって返される終了コードの値が含まれていない場合、この値が返されます。
作成者:
Robert Kasanicky
  • フィールドの詳細

  • コンストラクターの詳細

    • ConfigurableSystemProcessExitCodeMapper

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

    • getExitStatus

      public ExitStatus getExitStatus(int exitCode)
      次で指定:
      インターフェース SystemProcessExitCodeMappergetExitStatus 
      パラメーター:
      exitCode - システムプロセスによって返された終了コード
      戻り値:
      systemExitCode パラメーター値に適した ExitStatus
    • setMappings

      public void setMappings(MapSE<ObjectSE,ExitStatus> mappings)
      パラメーター:
      mappings - Integer 終了コードキーから ExitStatus 値へ。