org.apache.james.postage.configuration
Class SendProfile

java.lang.Object
  extended by org.apache.james.postage.configuration.SendProfile

public class SendProfile
extends java.lang.Object

specifies for the contained MailSenders, what are source and target of each mail they generate


Constructor Summary
SendProfile(java.lang.String profileName)
           
 
Method Summary
 void addMailSender(MailSender mailSender)
           
 java.lang.String getName()
           
 int getTotalMailsPerMin()
           
 boolean isSourceInternal()
           
 boolean isTargetInternal()
           
 java.util.Iterator mailSenderIterator()
           
 void setSourceInternal(boolean internal)
           
 void setTargetInternal(boolean internal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendProfile

public SendProfile(java.lang.String profileName)
Method Detail

getName

public java.lang.String getName()

setSourceInternal

public void setSourceInternal(boolean internal)

isSourceInternal

public boolean isSourceInternal()

setTargetInternal

public void setTargetInternal(boolean internal)

isTargetInternal

public boolean isTargetInternal()

addMailSender

public void addMailSender(MailSender mailSender)

mailSenderIterator

public java.util.Iterator mailSenderIterator()

getTotalMailsPerMin

public int getTotalMailsPerMin()


Copyright © 2006-2007 The Apache Software Foundation. All Rights Reserved.