1 22 package org.jboss.monitor.alerts; 23 24 import javax.mail.internet.AddressException ; 25 26 33 public interface EmailAlertListenerMBean extends JBossAlertListenerMBean 34 { 35 String getTo(); 36 37 void setTo(String t) throws AddressException ; 38 39 void addToAddress(String newAddress) throws AddressException ; 40 41 void removeToAddress(String removeAddress) throws AddressException ; 42 43 String getFrom(); 44 45 void setFrom(String f) throws AddressException ; 46 47 String getReplyTo(); 48 49 void setReplyTo(String f) throws AddressException ; 50 51 String getMessageTemplate(); 52 53 void setMessageTemplate(String messageTemplate); 54 55 String getSubjectTemplate(); 56 57 void setSubjectTemplate(String messageTemplate); 58 } 59 | Popular Tags |