|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--uk.org.iscream.cms.server.client.AlerterSkeleton | +--uk.org.iscream.cms.server.client.alerters.Logging__Alerter
This alerter writes alerts to the system logfile.
Field Summary | |
protected String |
_name
This is the friendly identifier of the component this class is running in. |
String |
DESC
A description of this alerter |
String |
REVISION
The current CVS revision of this class |
Fields inherited from class uk.org.iscream.cms.server.client.AlerterSkeleton |
_cp, _logger, _qID, _running, DEFAULT_LEVEL, NOT_CONFIGURED |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
Logging__Alerter()
|
Method Summary | |
String |
getDescription()
Return the String representation of what the alerter does |
protected String |
getFName()
Returns the "friendly" name of this class. |
void |
sendAlert(Alert alert)
Implements the abstract method from the skeleton class. |
String |
toString()
Overrides the Object.toString()
method to provide clean logging (every class should have this). |
Methods inherited from class uk.org.iscream.cms.server.client.AlerterSkeleton |
getQueue, getQueueId, processAlertMessage, run |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final String REVISION
public final String DESC
protected String _name
Constructor Detail |
public Logging__Alerter()
Method Detail |
public void sendAlert(Alert alert)
sendAlert
in class AlerterSkeleton
alert
- the alert to sendpublic String toString()
Object.toString()
method to provide clean logging (every class should have this).
This uses the uk.org.iscream.cms.util.NameFormat class
to format the toString()
toString
in class Thread
public String getDescription()
getDescription
in interface PluginAlerter
getDescription
in class AlerterSkeleton
protected String getFName()
getFName
in class AlerterSkeleton
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |