Enum Class SendSyncMessageParser.ErrorMode

java.lang.Object
java.lang.Enum<SendSyncMessageParser.ErrorMode>
nablarch.test.core.reader.SendSyncMessageParser.ErrorMode
All Implemented Interfaces:
Serializable, Comparable<SendSyncMessageParser.ErrorMode>, Constable
Enclosing class:
SendSyncMessageParser

public static enum SendSyncMessageParser.ErrorMode extends Enum<SendSyncMessageParser.ErrorMode>
エラー処理モードのEnum
  • Enum Constant Details

    • TIMEOUT

      public static final SendSyncMessageParser.ErrorMode TIMEOUT
      タイムアウトエラーの場合を想定し、nullを返却するモード
    • MSG_EXCEPTION

      public static final SendSyncMessageParser.ErrorMode MSG_EXCEPTION
      メッセージ送受信エラーの場合を想定し、MessagingExceptionが発生するモード
  • Method Details

    • values

      public static SendSyncMessageParser.ErrorMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SendSyncMessageParser.ErrorMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      モードを有効にする場合に、セルに記載する値を取得する
      Returns:
      モードを有効にする場合に、セルに記載する値
    • isErrorMode

      public static boolean isErrorMode(String mode)
      指定された文字列表現のモードが、この列挙型の要素の文字列表現と一致するか否か。 もし、列挙型の要素の中でどれか1つでも一致するものがあれば、trueを返す。
      Parameters:
      mode - 文字列表現のエラーモード
      Returns:
      エラーモードを表す文字列の場合はtrue