public static interface NotificationInvocationLogger.Entry
| Modifier and Type | Interface and Description |
|---|---|
static class |
NotificationInvocationLogger.Entry.Status
log entry status.
|
| Modifier and Type | Method and Description |
|---|---|
void |
failure(Throwable exception)
commits the log entry tagging it as failed.
|
String |
getDestination()
get destination.
|
String |
getDuration()
Human readable duration.
|
String |
getErrorMessage()
Get exception error message or empty string if succeded.
|
Throwable |
getException()
get exception.
|
Date |
getFinish()
get finish date time.
|
NotificationMessage |
getMessage()
get log message.
|
Date |
getStart()
get start date time.
|
NotificationInvocationLogger.Entry.Status |
getStatus()
get log status.
|
void |
ongoing()
sets the status to ongoing.
|
void |
success()
commits the log entry tagging it as succeeded.
|
void ongoing()
void success()
void failure(Throwable exception)
exception - throwable, cause of failureDate getStart()
Date getFinish()
NotificationInvocationLogger.Entry.Status getStatus()
NotificationMessage getMessage()
String getDestination()
Throwable getException()
String getErrorMessage()
String getDuration()
Copyright © 2017. All rights reserved.