|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.fedorchuck.developers_notification.antispam.SpamProtection
public class SpamProtection
Class contains connection between mechanism witch avoiding spam and mechanism sending messages.
Author: Volodymyr Fedorchuk
| Constructor Summary | |
|---|---|
SpamProtection()
|
|
| Method Summary | |
|---|---|
static void |
sendIntoMessenger(boolean protectionFromSpam,
MessageTypes types,
Task task)
It provide sending messages to chosen destination. |
void |
sendLogEventIntoMessenger(boolean protectionFromSpam,
org.apache.log4j.spi.LoggingEvent event)
It provide sending messages into messengers. |
static void |
sendMonitoringResultsIntoMessenger(boolean protectionFromSpam,
MessageTypes types,
java.lang.String description)
It provide sending messages into messengers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpamProtection()
| Method Detail |
|---|
public static void sendMonitoringResultsIntoMessenger(boolean protectionFromSpam,
MessageTypes types,
java.lang.String description)
Note: all needed data will be getting from JSON configuration
protectionFromSpam - is needed protection from spamdescription - what happened
public void sendLogEventIntoMessenger(boolean protectionFromSpam,
org.apache.log4j.spi.LoggingEvent event)
Note: all needed data will be getting from JSON configuration
protectionFromSpam - is needed protection from spamevent - what happened
public static void sendIntoMessenger(boolean protectionFromSpam,
MessageTypes types,
Task task)
protectionFromSpam - is needed protection from spamtypes - of messagetask - to compete
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||