A C E F G I L P R S T

A

add(LogRecord) - Method in class smtphandler.CyclicBuffer
Add a record as the last record in the buffer.

C

cb - Variable in class smtphandler.SMTPHandler
 
checkEntryConditions() - Method in class smtphandler.SMTPHandler
This method determines if there is a sense in attempting to append.
close() - Method in class smtphandler.SMTPHandler
 
CyclicBuffer - Class in smtphandler
CyclicBuffer is used by other handlers to hold LogRecord objects for immediate or differed display.
CyclicBuffer(int) - Constructor for class smtphandler.CyclicBuffer
Instantiate a new CyclicBuffer of at most maxSize records.

E

evaluator - Variable in class smtphandler.SMTPHandler
 

F

flush() - Method in class smtphandler.SMTPHandler
 

G

get(int) - Method in class smtphandler.CyclicBuffer
Get the i th oldest record currently in the buffer.
get() - Method in class smtphandler.CyclicBuffer
Get the oldest (first) element in the buffer.
getAddress(String) - Method in class smtphandler.SMTPHandler
 
getBufferSize() - Method in class smtphandler.SMTPHandler
Returns value of the bufferSize option.
getEmailContentType() - Method in class smtphandler.SMTPHandler
 
getEvaluatorClass() - Method in class smtphandler.SMTPHandler
Returns value of the EvaluatorClass option.
getFrom() - Method in class smtphandler.SMTPHandler
Returns value of the From option.
getMaxSize() - Method in class smtphandler.CyclicBuffer
 
getSmtpHost() - Method in class smtphandler.SMTPHandler
Returns value of the SmtpHost option.
getSmtpPassword() - Method in class smtphandler.SMTPHandler
 
getSmtpUsername() - Method in class smtphandler.SMTPHandler
 
getSubject() - Method in class smtphandler.SMTPHandler
Returns value of the Subject option.
getTo() - Method in class smtphandler.SMTPHandler
Returns value of the To option.

I

isTriggeringRecord(LogRecord) - Method in interface smtphandler.TriggeringRecordEvaluator
Is this the triggering record?

L

length() - Method in class smtphandler.CyclicBuffer
Get the number of elements in the buffer.

P

parseAddress(String) - Method in class smtphandler.SMTPHandler
 
publish(LogRecord) - Method in class smtphandler.SMTPHandler
Perform SMTPHandler specific appending actions, mainly adding the record to a cyclic buffer and checking if the record triggers an e-mail to be sent.

R

resize(int) - Method in class smtphandler.CyclicBuffer
Resize the cyclic buffer to newSize.

S

sendBuffer() - Method in class smtphandler.SMTPHandler
Send the contents of the cyclic buffer as an e-mail message.
setBufferSize(int) - Method in class smtphandler.SMTPHandler
The bufferSize option takes a positive integer representing the maximum number of logging records to collect in a cyclic buffer.
setEvaluatorClass(String) - Method in class smtphandler.SMTPHandler
The evaluatorClass option takes a string value representing the name of the class implementing the TriggeringRecordEvaluator interface.
setFrom(String) - Method in class smtphandler.SMTPHandler
The from option takes a string value which should be a e-mail address of the sender.
setSmtpHost(String) - Method in class smtphandler.SMTPHandler
The smtpHost option takes a string value which should be a the host name of the SMTP server that will send the e-mail message.
setSmtpPassword(String) - Method in class smtphandler.SMTPHandler
 
setSmtpUsername(String) - Method in class smtphandler.SMTPHandler
 
setSubject(String) - Method in class smtphandler.SMTPHandler
The subject option takes a string value which should be a the subject of the e-mail message.
setTo(String) - Method in class smtphandler.SMTPHandler
The to option takes a string value which should be a e-mail address of the sender.
smtphandler - package smtphandler
 
SMTPHandler - Class in smtphandler
Send an e-mail when a specific logging record occurs, typically on WARNING or SEVERE
SMTPHandler() - Constructor for class smtphandler.SMTPHandler
 

T

toString() - Method in class smtphandler.CyclicBuffer
 
toString() - Method in class smtphandler.SMTPHandler
 
TriggeringRecordEvaluator - Interface in smtphandler
Implementations of this interface allow certain handlers to decide when to perform a handler specific action.

A C E F G I L P R S T

Copyright © 2003-2006 smtphandler.sourceforge.net. All Rights Reserved.