public class BulkMonitoringEvent extends Object implements IMonitoringEvent
EVENT_TYPE_BULK, EVENT_TYPE_CREATION, EVENT_TYPE_DISPOSAL, EVENT_TYPE_MODIFICATION, EVENT_TYPE_OCCURRENCE, SOURCE_CATEGORY_ACTIVITY, SOURCE_CATEGORY_COMPONENT, SOURCE_CATEGORY_EXECUTION, SOURCE_CATEGORY_FACT, SOURCE_CATEGORY_GOAL, SOURCE_CATEGORY_IEVENT, SOURCE_CATEGORY_MESSAGE, SOURCE_CATEGORY_PLAN, SOURCE_CATEGORY_PROPERTY, SOURCE_CATEGORY_SERVICE, TERMINATION_FILTER, TYPE_COMPONENT_CREATED, TYPE_COMPONENT_DISPOSED, TYPE_PROPERTY_ADDED, TYPE_PROPERTY_REMOVED, TYPE_SERVICECALL_END, TYPE_SERVICECALL_START, TYPE_SUBSCRIPTION_START| Constructor and Description |
|---|
BulkMonitoringEvent() |
BulkMonitoringEvent(IMonitoringEvent[] events) |
| Modifier and Type | Method and Description |
|---|---|
IMonitoringEvent[] |
getBulkEvents()
Get the bulk events.
|
Cause |
getCause()
Get the cause.
|
IMonitoringService.PublishEventLevel |
getLevel()
Get the event importance.
|
Map<String,Object> |
getProperties()
Get a property.
|
Object |
getProperty(String name)
Get a property.
|
long |
getSourceCreationTime()
Get the source creation time, i.e.
|
String |
getSourceDescription()
Get the source description, e.g.
|
IComponentIdentifier |
getSourceIdentifier()
Get the caller.
|
long |
getTime()
Get the time.
|
String |
getType()
Get the type.
|
void |
setBulkEvents(IMonitoringEvent[] events)
Set the events.
|
void |
setCause(Cause cause)
Set the cause.
|
public BulkMonitoringEvent()
public BulkMonitoringEvent(IMonitoringEvent[] events)
public IComponentIdentifier getSourceIdentifier()
getSourceIdentifier in interface IMonitoringEventpublic String getSourceDescription()
getSourceDescription in interface IMonitoringEventpublic long getSourceCreationTime()
getSourceCreationTime in interface IMonitoringEventpublic String getType()
getType in interface IMonitoringEventpublic long getTime()
getTime in interface IMonitoringEventpublic Cause getCause()
getCause in interface IMonitoringEventpublic void setCause(Cause cause)
setCause in interface IMonitoringEventcause - The cause to set.public Object getProperty(String name)
getProperty in interface IMonitoringEventname - The property name.public Map<String,Object> getProperties()
getProperties in interface IMonitoringEventname - The property name.public IMonitoringService.PublishEventLevel getLevel()
getLevel in interface IMonitoringEventpublic IMonitoringEvent[] getBulkEvents()
public void setBulkEvents(IMonitoringEvent[] events)
events - The events to set.Copyright © 2015. All Rights Reserved.