A C D E F G H I L M N P R S T U V W

A

analyseResponse(HttpResponse) - Method in interface com.github.fedorchuck.developers_notification.integrations.Integration
Analyse response after sent message
analyseResponse(HttpResponse) - Method in class com.github.fedorchuck.developers_notification.integrations.slack.SlackImpl
Analyse response after sent message
analyseResponse(HttpResponse) - Method in class com.github.fedorchuck.developers_notification.integrations.telegram.TelegramImpl
Analyse response after sent message
append(LoggingEvent) - Method in class com.github.fedorchuck.developers_notification.DevelopersNotificationAppender
 
arrayToString(StackTraceElement[]) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationUtil
Convert array of StackTraceElement to string.

C

canSendMessage(MessageTypes) - Static method in class com.github.fedorchuck.developers_notification.antispam.FrequencyOfSending
Checking, is able to sending message with it type.
canSendMessage(SentMessage) - Static method in class com.github.fedorchuck.developers_notification.antispam.FrequencyOfSending
Checking, is able to sending this message.
checkTheNecessaryConfigurationExists(DevelopersNotificationMessenger) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationUtil
Check does the necessary messenger configuration exist
close() - Method in class com.github.fedorchuck.developers_notification.DevelopersNotificationAppender
 
com.github.fedorchuck.developers_notification - package com.github.fedorchuck.developers_notification
Library which provides developers notification via Telegram, Slack
com.github.fedorchuck.developers_notification.antispam - package com.github.fedorchuck.developers_notification.antispam
Package contains mechanism witch avoiding spam.
com.github.fedorchuck.developers_notification.configuration - package com.github.fedorchuck.developers_notification.configuration
Package contains configuration classes.
com.github.fedorchuck.developers_notification.helpers - package com.github.fedorchuck.developers_notification.helpers
Package contains different helpers classes.
com.github.fedorchuck.developers_notification.http - package com.github.fedorchuck.developers_notification.http
Package contain an HTTP client, they helper classes and model.
com.github.fedorchuck.developers_notification.integrations - package com.github.fedorchuck.developers_notification.integrations
Package contain an integrations which supporting by this library.
com.github.fedorchuck.developers_notification.integrations.slack - package com.github.fedorchuck.developers_notification.integrations.slack
Package constrain implementation of Integration which allow sending messages via Slack messenger
com.github.fedorchuck.developers_notification.integrations.telegram - package com.github.fedorchuck.developers_notification.integrations.telegram
Package constrain implementation of Integration which allow sending messages via Telegram messenger
com.github.fedorchuck.developers_notification.model - package com.github.fedorchuck.developers_notification.model
Package contain an object model for this library.
com.github.fedorchuck.developers_notification.monitoring - package com.github.fedorchuck.developers_notification.monitoring
Package contains classes which collects, analyzes and produces a corresponding reaction to the results of monitoring.
Config - Class in com.github.fedorchuck.developers_notification.configuration
Configuration class for this library.
Config() - Constructor for class com.github.fedorchuck.developers_notification.configuration.Config
 
configurationExist() - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotification
Check is configuration for Developers Notification library exist.
Constants - Class in com.github.fedorchuck.developers_notification.helpers
It contains global final static variables for naming threads.
Constants() - Constructor for class com.github.fedorchuck.developers_notification.helpers.Constants
 
contains(V) - Method in class com.github.fedorchuck.developers_notification.helpers.Lifetime
Returns true if this stack contains the specified element.

D

DevelopersNotification - Class in com.github.fedorchuck.developers_notification
Class contain methods-endpoints for this library.
DevelopersNotification() - Constructor for class com.github.fedorchuck.developers_notification.DevelopersNotification
 
DevelopersNotificationAppender - Class in com.github.fedorchuck.developers_notification
Provides sending logging events messages by https://github.com/fedorchuck/developers-notification using chosen messenger
DevelopersNotificationAppender() - Constructor for class com.github.fedorchuck.developers_notification.DevelopersNotificationAppender
 
DevelopersNotificationLogger - Class in com.github.fedorchuck.developers_notification
Library logger
DevelopersNotificationLogger() - Constructor for class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
DevelopersNotificationMessenger - Enum in com.github.fedorchuck.developers_notification
Enum of available destinations where the message will be sent.
DevelopersNotificationUtil - Class in com.github.fedorchuck.developers_notification
Class contains helper methods
DevelopersNotificationUtil() - Constructor for class com.github.fedorchuck.developers_notification.DevelopersNotificationUtil
 

E

equals(Object) - Method in class com.github.fedorchuck.developers_notification.antispam.SentMessage
 
error(String, Exception) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
error(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
errorScheduler(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
errorSendMessage(String, IOException) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
errorSendMessageBadConfig(String, IOException) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
errorSendMessageBadConfig(String, String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
errorSendMessageBadConfig(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
errorTaskFailed(String, Exception) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
errorWrongConfig(String, String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
errorWrongConfig(String, String, String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 

F

fatalConfigNotFound() - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
FrequencyOfSending - Class in com.github.fedorchuck.developers_notification.antispam
This class regulate frequency of sending messages to messengers
FrequencyOfSending() - Constructor for class com.github.fedorchuck.developers_notification.antispam.FrequencyOfSending
 

G

generateMessage(String, String, Throwable) - Method in interface com.github.fedorchuck.developers_notification.integrations.Integration
Generate Task to send by specified params
generateMessage(String, String, Throwable) - Method in class com.github.fedorchuck.developers_notification.integrations.slack.SlackImpl
Generate message to send by specified params
generateMessage(String, String, Throwable) - Method in class com.github.fedorchuck.developers_notification.integrations.telegram.TelegramImpl
Generate message to send by specified params
generateMessageFromLoggingEvent(String, LoggingEvent) - Method in interface com.github.fedorchuck.developers_notification.integrations.Integration
Generate Task to send by specified params
generateMessageFromLoggingEvent(String, LoggingEvent) - Method in class com.github.fedorchuck.developers_notification.integrations.slack.SlackImpl
Generate Task to send by specified params
generateMessageFromLoggingEvent(String, LoggingEvent) - Method in class com.github.fedorchuck.developers_notification.integrations.telegram.TelegramImpl
Generate Task to send by specified params
generateTask(String, String, Throwable, Integration) - Static method in class com.github.fedorchuck.developers_notification.helpers.InternalUtil
Generate Task from input data
generateTaskFromLoggingEvent(String, LoggingEvent, Integration) - Static method in class com.github.fedorchuck.developers_notification.helpers.InternalUtil
Generate Task from input data
get(int) - Method in class com.github.fedorchuck.developers_notification.helpers.Lifetime
Returns the element at the specified position in this stack.
get(String, Map<String, String>) - Method in class com.github.fedorchuck.developers_notification.http.HttpClient
Creates an HTTP GET request to send to the server at the specified URL, specifying a response handler to receive the response
getAboutMessage() - Method in class com.github.fedorchuck.developers_notification.antispam.SentMessage
 
getChannel() - Method in class com.github.fedorchuck.developers_notification.configuration.Messenger
Return channel of integration
getConfiguration() - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotification
Return configuration for Developers Notification library.
getConnectTimeout() - Method in class com.github.fedorchuck.developers_notification.configuration.Config
 
getContentType() - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
getDescription() - Method in class com.github.fedorchuck.developers_notification.model.Task
 
getDiskConsumptionRate() - Method in class com.github.fedorchuck.developers_notification.configuration.Monitoring
 
getEnvironmentVariable(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationUtil
Getting environment variable value.
getException() - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
getIntegration() - Method in class com.github.fedorchuck.developers_notification.model.Task
 
getIntegrations() - Static method in class com.github.fedorchuck.developers_notification.helpers.InternalUtil
Return all Integration from Config as List
getIntegrations(DevelopersNotificationMessenger) - Static method in class com.github.fedorchuck.developers_notification.helpers.InternalUtil
Return all Integration from input param as List
getJsonGeneratedMessages() - Method in class com.github.fedorchuck.developers_notification.model.Task
 
getMaxDisk() - Method in class com.github.fedorchuck.developers_notification.configuration.Monitoring
 
getMaxRam() - Method in class com.github.fedorchuck.developers_notification.configuration.Monitoring
 
getMessenger() - Method in class com.github.fedorchuck.developers_notification.configuration.Config
 
getMonitoring() - Method in class com.github.fedorchuck.developers_notification.configuration.Config
 
getMultipartEntityBuilder() - Method in class com.github.fedorchuck.developers_notification.model.Task
 
getName() - Method in class com.github.fedorchuck.developers_notification.configuration.Messenger
Return name of integration
getOldest() - Method in class com.github.fedorchuck.developers_notification.helpers.Lifetime
Returns the element at the specified position in this stack.
getPeriod() - Method in class com.github.fedorchuck.developers_notification.configuration.Monitoring
 
getPrivateToString() - Method in class com.github.fedorchuck.developers_notification.configuration.Config
It create string with "sensitive data"
getProjectName() - Method in class com.github.fedorchuck.developers_notification.configuration.Config
 
getProjectName() - Method in class com.github.fedorchuck.developers_notification.model.Task
 
getProtectionFromSpam() - Method in class com.github.fedorchuck.developers_notification.configuration.Config
 
getPublicToString() - Method in class com.github.fedorchuck.developers_notification.configuration.Config
It create string with "public" fields
getResponseContent() - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
getResponseMessage() - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
getShowWholeLogDetails() - Method in class com.github.fedorchuck.developers_notification.configuration.Config
 
getStatusCode() - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
getThrowable() - Method in class com.github.fedorchuck.developers_notification.model.Task
 
getThrowableStackTraceBytes(Throwable) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationUtil
Convert Throwable stack trace to byte[] array
getToken() - Method in class com.github.fedorchuck.developers_notification.configuration.Messenger
Return token of integration
getUnit() - Method in class com.github.fedorchuck.developers_notification.configuration.Monitoring
Return TimeUnit
getUserAgent() - Method in class com.github.fedorchuck.developers_notification.configuration.Config
 

H

hashCode() - Method in class com.github.fedorchuck.developers_notification.antispam.SentMessage
 
HttpClient - Class in com.github.fedorchuck.developers_notification.http
A HTTP client.
HttpClient() - Constructor for class com.github.fedorchuck.developers_notification.http.HttpClient
 
HttpResponse - Class in com.github.fedorchuck.developers_notification.http
Represents a client-side HTTP response.
HttpResponse() - Constructor for class com.github.fedorchuck.developers_notification.http.HttpResponse
 

I

info(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoEnvironmentVariable(String, String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoHttpClientResponse(HttpResponse) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoHttpClientResponseHideDetails(HttpResponse) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoLoggerLevel(String, Level) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoMessageSend(String, String, String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoMessageSend(String, String, MultipartEntityBuilder) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoMessageSendHideDetails(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoScheduler(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoSentMessage(SentMessage) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoTaskCompleted(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
infoTryToSentDuplicateMessage(SentMessage) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 
Integration - Interface in com.github.fedorchuck.developers_notification.integrations
Decelerate which methods should contain each integration, which allows to send messages to messengers.
InternalUtil - Class in com.github.fedorchuck.developers_notification.helpers
This class contains method for using just by this library
InternalUtil() - Constructor for class com.github.fedorchuck.developers_notification.helpers.InternalUtil
 
isBlank(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationUtil
Check is the given string is blank.
isMonitoringStateAlive() - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotification
Check if the monitoring thread is alive.
isNullOrEmpty(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationUtil
Check is the given string is null or is the empty string.

L

Lifetime<V> - Class in com.github.fedorchuck.developers_notification.helpers
Stack with the lifetime of objects.
Lifetime(long, long) - Constructor for class com.github.fedorchuck.developers_notification.helpers.Lifetime
Constructor of stack.

M

messageSent(MessageTypes) - Static method in class com.github.fedorchuck.developers_notification.antispam.FrequencyOfSending
Change status for message to avoid spam.
messageSent(SentMessage) - Static method in class com.github.fedorchuck.developers_notification.antispam.FrequencyOfSending
Change status for message to avoid spam.
MessageTypes - Enum in com.github.fedorchuck.developers_notification.antispam
This enum contain available types messages.
Messenger - Class in com.github.fedorchuck.developers_notification.configuration
Part of configuration for this library.
Messenger() - Constructor for class com.github.fedorchuck.developers_notification.configuration.Messenger
 
Monitoring - Class in com.github.fedorchuck.developers_notification.configuration
Part of configuration for this library.
Monitoring() - Constructor for class com.github.fedorchuck.developers_notification.configuration.Monitoring
 
monitoringStart() - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotification
Launches monitoring process for current application.
monitoringStop() - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotification
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
MonitorProcessor - Class in com.github.fedorchuck.developers_notification.monitoring
It collects, analyzes and produces a corresponding reaction to the results of monitoring.
MonitorProcessor() - Constructor for class com.github.fedorchuck.developers_notification.monitoring.MonitorProcessor
 

N

name() - Method in interface com.github.fedorchuck.developers_notification.integrations.Integration
Contains name of integration
name() - Method in class com.github.fedorchuck.developers_notification.integrations.slack.SlackImpl
 
name() - Method in class com.github.fedorchuck.developers_notification.integrations.telegram.TelegramImpl
 

P

post(String, String) - Method in class com.github.fedorchuck.developers_notification.http.HttpClient
Creates an HTTP POST request to send to the server at the specified url, specifying json to receive the response
printConfiguration() - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotification
Printing environment configuration to log which needed for this library.
printResponse() - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
printResponseHideDetails() - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
printToLogEnvironmentVariable(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationUtil
Prints environment variable value with.
put(V) - Method in class com.github.fedorchuck.developers_notification.helpers.Lifetime
Appends the specified element to the end of this stack.

R

requiresLayout() - Method in class com.github.fedorchuck.developers_notification.DevelopersNotificationAppender
 
run() - Method in class com.github.fedorchuck.developers_notification.monitoring.MonitorProcessor
Triggers the collection and analysis of data, and sends messages when necessary

S

send(String, Throwable) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotification
Sending message to chosen destination.
send(String, String, Throwable) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotification
Sending message to chosen destination.
send(DevelopersNotificationMessenger, String, String, Throwable) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotification
Sending message to chosen destination.
send(boolean, String, String, Throwable) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotification
Sending message to chosen destination.
sendIntoMessenger(boolean, MessageTypes, Task) - Static method in class com.github.fedorchuck.developers_notification.antispam.SpamProtection
It provide sending messages to chosen destination.
sendLogEventIntoMessenger(boolean, LoggingEvent) - Method in class com.github.fedorchuck.developers_notification.antispam.SpamProtection
It provide sending messages into messengers.
sendMessage(Task) - Method in interface com.github.fedorchuck.developers_notification.integrations.Integration
Provides sending messages to specified messenger
sendMessage(Task) - Method in class com.github.fedorchuck.developers_notification.integrations.slack.SlackImpl
Provides sending messages to Slack messenger
sendMessage(Task) - Method in class com.github.fedorchuck.developers_notification.integrations.telegram.TelegramImpl
Provides sending messages to Telegram messenger
sendMonitoringResultsIntoMessenger(boolean, MessageTypes, String) - Static method in class com.github.fedorchuck.developers_notification.antispam.SpamProtection
It provide sending messages into messengers.
sendMultipartFromData(String, MultipartEntityBuilder) - Method in class com.github.fedorchuck.developers_notification.http.HttpClient
Creates an HTTP POST request to send to the server at the specified url, specifying MultipartEntityBuilder to receive the response
SentMessage - Class in com.github.fedorchuck.developers_notification.antispam
Model for mechanism witch avoiding spam.
SentMessage(MessageTypes, DevelopersNotificationMessenger, String, String) - Constructor for class com.github.fedorchuck.developers_notification.antispam.SentMessage
 
SentMessage(MessageTypes) - Constructor for class com.github.fedorchuck.developers_notification.antispam.SentMessage
 
setContentType(String) - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
setEnvironmentVariable(String, String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationUtil
Deprecated. 
setException(IOException) - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
setJsonGeneratedMessages(String) - Method in class com.github.fedorchuck.developers_notification.model.Task
 
setLevel(String) - Method in class com.github.fedorchuck.developers_notification.DevelopersNotificationAppender
 
setMultipartEntityBuilder(MultipartEntityBuilder) - Method in class com.github.fedorchuck.developers_notification.model.Task
 
setResponseContent(String) - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
setResponseMessage(String) - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
setStatusCode(int) - Method in class com.github.fedorchuck.developers_notification.http.HttpResponse
 
size() - Method in class com.github.fedorchuck.developers_notification.helpers.Lifetime
Returns the number of elements in this stack.
SlackImpl - Class in com.github.fedorchuck.developers_notification.integrations.slack
Provides sending messages via Slack messenger
SlackImpl() - Constructor for class com.github.fedorchuck.developers_notification.integrations.slack.SlackImpl
 
SpamProtection - Class in com.github.fedorchuck.developers_notification.antispam
Class contains connection between mechanism witch avoiding spam and mechanism sending messages.
SpamProtection() - Constructor for class com.github.fedorchuck.developers_notification.antispam.SpamProtection
 

T

Task - Class in com.github.fedorchuck.developers_notification.model
Author: @author Volodymyr Fedorchuk.
Task(Integration, String, String, Throwable) - Constructor for class com.github.fedorchuck.developers_notification.model.Task
 
TelegramImpl - Class in com.github.fedorchuck.developers_notification.integrations.telegram
Provides sending messages via Telegram messenger
TelegramImpl() - Constructor for class com.github.fedorchuck.developers_notification.integrations.telegram.TelegramImpl
 
THREAD_GROUP - Static variable in class com.github.fedorchuck.developers_notification.helpers.Constants
 
THREAD_NAME_MONITORING - Static variable in class com.github.fedorchuck.developers_notification.helpers.Constants
 
THREAD_NAME_SENDING - Static variable in class com.github.fedorchuck.developers_notification.helpers.Constants
 
THREAD_NAME_STACK - Static variable in class com.github.fedorchuck.developers_notification.helpers.Constants
 

U

urlEncode(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationUtil
Translates a string into application/x-www-form-urlencoded format using UTF-8 encoding scheme.

V

valueOf(String) - Static method in enum com.github.fedorchuck.developers_notification.antispam.MessageTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.fedorchuck.developers_notification.DevelopersNotificationMessenger
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.fedorchuck.developers_notification.antispam.MessageTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.fedorchuck.developers_notification.DevelopersNotificationMessenger
Returns an array containing the constants of this enum type, in the order they are declared.

W

warnSendMessageBadConfig(String) - Static method in class com.github.fedorchuck.developers_notification.DevelopersNotificationLogger
 

A C D E F G H I L M N P R S T U V W