public final class PolicyNotification extends EnrichedServerNotification
Notification.Action
Modifier and Type | Field and Description |
---|---|
static int |
AFTER_NEXT |
static int |
BEFORE_NEXT |
static int |
PROCESS_END |
static int |
PROCESS_START |
notificationInfo
action, ADMIN_EVENT_ACTION_START_RANGE, ASYNC_MESSAGE_EVENT_ACTION_START_RANGE, CLUSTER_NODE_EVENT_ACTION_START_RANGE, COMPONENT_EVENT_ACTION_START_RANGE, CONNECTION_EVENT_ACTION_START_RANGE, CONTEXT_EVENT_ACTION_START_RANGE, CUSTOM_EVENT_ACTION_START_RANGE, EXCEPTION_EVENT_ACTION_START_RANGE, EXCEPTION_STRATEGY_MESSAGE_EVENT_ACTION_START_RANGE, FLOW_CONSTRUCT_EVENT_ACTION_START_RANGE, MANAGEMENT_EVENT_ACTION_START_RANGE, MESSAGE_EVENT_ACTION_START_RANGE, MESSAGE_EVENT_END_ACTION_START_RANGE, MESSAGE_PROCESSOR_EVENT_ACTION_START_RANGE, NO_ACTION_ID, NO_ACTION_NAME, NULL_ACTION, NULL_MESSAGE, PIPELINE_MESSAGE_EVENT_ACTION_START_RANGE, POLICY_MESSAGE_EVENT_ACTION_START_RANGE, REGISTRY_EVENT_ACTION_START_RANGE, resourceIdentifier, ROUTING_EVENT_ACTION_START_RANGE, SECURITY_EVENT_ACTION_START_RANGE, serverId, SPACE_EVENT_ACTION_START_RANGE, timestamp, TRANSACTION_EVENT_ACTION_START_RANGE, TYPE_ERROR, TYPE_FATAL, TYPE_INFO, TYPE_TRACE, TYPE_WARNING
source
Constructor and Description |
---|
PolicyNotification(String policyId,
EnrichedNotificationInfo notificationInfo,
int action,
ComponentLocation componentLocation) |
Modifier and Type | Method and Description |
---|---|
String |
getEventName()
The name that identifies this particular notification type.
|
String |
getPolicyId() |
boolean |
isSynchronous()
Indicates the synchronicity of the processing of this notification.
|
getComponent, getEvent, getException, getInfo, getLocationUri, getSource, toString
getAction, getActionId, getActionName, getActionName, getResourceIdentifier, getServerId, getTimestamp, getType, registerAction, setServerId
public static final int PROCESS_START
public static final int BEFORE_NEXT
public static final int AFTER_NEXT
public static final int PROCESS_END
public PolicyNotification(String policyId, EnrichedNotificationInfo notificationInfo, int action, ComponentLocation componentLocation)
public String getPolicyId()
public String getEventName()
AbstractServerNotification
getEventName
in class AbstractServerNotification
public boolean isSynchronous()
Notification
NotificationDispatcher.dispatch(Notification)
or will be dispatched to a Scheduler
for asynchronous
processing.Copyright © 2018. All rights reserved.