com.googlecode.jpattern.service.log
Class MailExecutor

java.lang.Object
  extended by com.googlecode.jpattern.service.log.AExecutor
      extended by com.googlecode.jpattern.service.log.MailExecutor
All Implemented Interfaces:
IExecutor, Serializable

public class MailExecutor
extends AExecutor

Author:
Francesco Cina' 12/ago/2010
See Also:
Serialized Form

Constructor Summary
MailExecutor(IMailService mailService, List<String> mailTo, String mailFrom, String mailSubject)
           
MailExecutor(IMailService mailService, List<String> mailTo, String mailFrom, String mailSubject, IExecutor successor)
           
 
Method Summary
 void what(DebugEvent event)
           
 void what(ErrorEvent event)
           
 void what(InfoEvent event)
           
 void what(TraceEvent event)
           
 void what(WarnEvent event)
           
 
Methods inherited from class com.googlecode.jpattern.service.log.AExecutor
execute, execute, execute, execute, execute, getMessageFormatter, setLoggerLevel, setMessageFormatter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailExecutor

public MailExecutor(IMailService mailService,
                    List<String> mailTo,
                    String mailFrom,
                    String mailSubject)

MailExecutor

public MailExecutor(IMailService mailService,
                    List<String> mailTo,
                    String mailFrom,
                    String mailSubject,
                    IExecutor successor)
Method Detail

what

public void what(InfoEvent event)
Specified by:
what in class AExecutor

what

public void what(DebugEvent event)
Specified by:
what in class AExecutor

what

public void what(ErrorEvent event)
Specified by:
what in class AExecutor

what

public void what(TraceEvent event)
Specified by:
what in class AExecutor

what

public void what(WarnEvent event)
Specified by:
what in class AExecutor


Copyright © 2011. All Rights Reserved.