|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.backsource.alert.sender.SenderBase
A simple base class for senders that implements Sender.
| Field Summary | |
protected java.util.Properties |
prop
|
| Constructor Summary | |
SenderBase()
|
|
| Method Summary | |
abstract void |
sendErrors(java.util.List errors,
java.util.List warnings)
Send the errors and warnings given. |
abstract void |
sendWarnings(java.util.List warnings)
Send the warnings given. |
void |
setProperties(java.util.Properties prop)
Set the properties of the sender. |
protected abstract void |
setUp()
Callback method when Sender is initializes, sub classes should do its setup in this method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Properties prop
| Constructor Detail |
public SenderBase()
| Method Detail |
public abstract void sendErrors(java.util.List errors,
java.util.List warnings)
Sender
sendErrors in interface Senderpublic abstract void sendWarnings(java.util.List warnings)
SenderIt is up to the sender to decide, based on configuration or statically if it should really send warnings.
sendWarnings in interface Sender
public void setProperties(java.util.Properties prop)
throws java.lang.Exception
setProperties in interface Senderjava.lang.Exception
protected abstract void setUp()
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||