com.ozacc.mail.mailet
クラス MailetWrapper

java.lang.Object
  上位を拡張 com.ozacc.mail.mailet.MailetWrapper

public class MailetWrapper
extends Object

MailetインスタンスとMatcherインスタンスのリストを持つMailetの実行単位となるクラス。

導入されたバージョン:
1.2
バージョン:
$Id: MailetWrapper.java,v 1.1.2.2 2005/01/23 06:47:01 otsuka Exp $
作成者:
Tomohiro Otsuka

コンストラクタの概要
MailetWrapper()
          コンストラクタ。
MailetWrapper(Mailet mailet, List matcherList)
          コンストラクタ。
 
メソッドの概要
 void execute(ReceivedMail mail)
          リストされているMatcherの条件をクリアしたMailetを実行します。
 Mailet getMailet()
          Mailetインスタンスを返します。
 List getMatcherList()
          Matcherインスタンスのリストを返します。
 void setMailet(Mailet mailet)
          Mailetインスタンスをセットします。
 void setMatcherList(List matcherList)
          Matcherインスタンスのリストをセットします。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MailetWrapper

public MailetWrapper()
コンストラクタ。


MailetWrapper

public MailetWrapper(Mailet mailet,
                     List matcherList)
コンストラクタ。

パラメータ:
mailet - Mailetインスタンス
matcherList - Matcherインスタンスのリスト
メソッドの詳細

execute

public void execute(ReceivedMail mail)
リストされているMatcherの条件をクリアしたMailetを実行します。

パラメータ:
mail - 受信メール

getMailet

public Mailet getMailet()
Mailetインスタンスを返します。

戻り値:
Mailetインスタンス

setMailet

public void setMailet(Mailet mailet)
Mailetインスタンスをセットします。

パラメータ:
mailet - Mailetインスタンス

getMatcherList

public List getMatcherList()
Matcherインスタンスのリストを返します。

戻り値:
Matcherインスタンスのリスト

setMatcherList

public void setMatcherList(List matcherList)
Matcherインスタンスのリストをセットします。

パラメータ:
matcherList - Matcherインスタンスのリスト


Copyright © 2004-2006 OZACC. All Rights Reserved.