|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.fedorchuck.developers_notification.helpers.InternalUtil
public class InternalUtil
This class contains method for using just by this library
Author: Volodymyr Fedorchuk.
| Constructor Summary | |
|---|---|
InternalUtil()
|
|
| Method Summary | |
|---|---|
static Task |
generateTask(java.lang.String projectName,
java.lang.String description,
java.lang.Throwable throwable,
Integration integrations)
Generate Task from input data |
static Task |
generateTaskFromLoggingEvent(java.lang.String projectName,
org.apache.log4j.spi.LoggingEvent event,
Integration integrations)
Generate Task from input data |
static java.util.List<Integration> |
getIntegrations()
Return all Integration from Config as List |
static java.util.List<Integration> |
getIntegrations(DevelopersNotificationMessenger messengerDestination)
Return all Integration from input param as List |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InternalUtil()
| Method Detail |
|---|
public static java.util.List<Integration> getIntegrations()
Integration from Config as List
java.lang.IllegalArgumentException - if integration is un knownpublic static java.util.List<Integration> getIntegrations(DevelopersNotificationMessenger messengerDestination)
Integration from input param as List
messengerDestination - which needed Integration
java.lang.IllegalArgumentException - if integration is un known
public static Task generateTask(java.lang.String projectName,
java.lang.String description,
java.lang.Throwable throwable,
Integration integrations)
Task from input data
projectName - where was method calleddescription - about situationthrowable - which happened. Can be nullintegrations - where this task should will be complete
public static Task generateTaskFromLoggingEvent(java.lang.String projectName,
org.apache.log4j.spi.LoggingEvent event,
Integration integrations)
Task from input data
projectName - where was method calledevent - form loggerintegrations - where this task should will be complete
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||