Interface NotificationContext
- All Superinterfaces:
Cloneable
-
Method Summary
Modifier and TypeMethodDescriptionappend(ArgumentLiteral<T> argument, Object value) Append the argument literal.voidclear()Clear all of filter optionalclone()Creates and returns a copy of this object If class extends NotificationContextImpl and implements method clone(), then must use supper.clone();Gets the channel manager what contains all channel on NotificationGets the exception if have any when the done processing<T> TgetException(Class<T> type) Gets the exception if have any when the done processingGets the NotificationExceutor serviceGets notification informationGets notification message listGets the plugin container what contains all plugins on NotificationGets the PluginSettingService servicebooleanisFailed()The signal lets you know the processing is successfully or notbooleanDetermines the writing processing or NOTmakeCommand(PluginKey key) Makes the NotificationCommand by the NotificationKeyremove(ArgumentLiteral<T> filter) Removes the query parameter.voidSets the exception if have any when the done processingsetNotificationInfo(NotificationInfo notification) Sets notification infomationvoidsetNotificationInfos(List<NotificationInfo> notifications) Sets notification information listvoidsetWritingProcess(boolean writingStatus) Sets the writing status to the context<T> Tvalue(ArgumentLiteral<T> argument) Gets FilterOption which was existing.
-
Method Details
-
isWritingProcess
boolean isWritingProcess()Determines the writing processing or NOT- Returns:
-
setWritingProcess
void setWritingProcess(boolean writingStatus) Sets the writing status to the context- Parameters:
writingStatus-
-
append
Append the argument literal.- Parameters:
argument-value-- Returns:
-
remove
Removes the query parameter.- Parameters:
filter-- Returns:
-
clear
void clear()Clear all of filter optional -
value
Gets FilterOption which was existing.- Parameters:
argument-- Returns:
-
getNotificationInfo
-
setNotificationInfo
Sets notification infomation- Parameters:
notification-
-
setNotificationInfos
Sets notification information list- Parameters:
notifications-
-
getNotificationInfos
-
getException
-
getException
Gets the exception if have any when the done processing- Parameters:
type-- Returns:
-
setException
Sets the exception if have any when the done processing- Parameters:
t-
-
isFailed
boolean isFailed()The signal lets you know the processing is successfully or not- Returns:
-
getNotificationExecutor
-
makeCommand
Makes the NotificationCommand by the NotificationKey- Parameters:
key-- Returns:
-
clone
NotificationContext clone()Creates and returns a copy of this object If class extends NotificationContextImpl and implements method clone(), then must use supper.clone();- See Also:
-
getPluginSettingService
-
getPluginContainer
PluginContainer getPluginContainer()Gets the plugin container what contains all plugins on Notification- Returns:
-
getChannelManager
ChannelManager getChannelManager()Gets the channel manager what contains all channel on Notification- Returns:
-