public static enum Template.FailedOOOResponse extends Enum<Template.FailedOOOResponse>
修飾子とタイプ | クラスと説明 |
---|---|
static class |
Template.FailedOOOResponse.Bean
不在応答が失敗した通知を生成するために必要な情報を格納するBeanクラス
このクラスを使用してテンプレートの置換文字列に適用する値を渡します。
|
static class |
Template.FailedOOOResponse.ResultBean
テンプレートの適用結果を保持するBeanクラス
|
列挙型定数と説明 |
---|
ERROR_OOOR_DISABLED
返信先(元メッセージの送信者)が無効化されています。
|
ERROR_OOOR_NOT_EXIST
返信先(元メッセージの送信者)が存在しません。
|
ERROR_OOOR_NOT_PERMITTED
返信先(元メッセージの送信者)あてにメッセージを送信することが許可されていません。
|
修飾子とタイプ | メソッドと説明 |
---|---|
Message |
apply(Locale locale,
Template.FailedOOOResponse.Bean bean)
引数の値を使用してテンプレート処理を行います。
|
String |
getPath(Locale locale)
テンプレートのパスを文字列として取得します。
|
static Template.FailedOOOResponse |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Template.FailedOOOResponse[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final Template.FailedOOOResponse ERROR_OOOR_DISABLED
public static final Template.FailedOOOResponse ERROR_OOOR_NOT_EXIST
public static final Template.FailedOOOResponse ERROR_OOOR_NOT_PERMITTED
public static Template.FailedOOOResponse[] values()
for(Template.FailedOOOResponse c: Template.FailedOOOResponse.values()) System.out.println(c);
public static Template.FailedOOOResponse valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合public Message apply(Locale locale, Template.FailedOOOResponse.Bean bean) throws GroupMailTemplateException
locale
- テンプレートのロケールbean
- テンプレートに適用する情報GroupMailTemplateException
- テンプレートの読み込み、適用に失敗した場合Copyright © 2019 UCM Co., Ltd.. All rights reserved.