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. the time
when the component was created.
|
String |
getSourceDescription()
Get the source description, e.g. if it is a service.
|
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 IMonitoringEvent
public String getSourceDescription()
getSourceDescription
in interface IMonitoringEvent
public long getSourceCreationTime()
getSourceCreationTime
in interface IMonitoringEvent
public String getType()
getType
in interface IMonitoringEvent
public long getTime()
getTime
in interface IMonitoringEvent
public Cause getCause()
getCause
in interface IMonitoringEvent
public void setCause(Cause cause)
setCause
in interface IMonitoringEvent
cause
- The cause to set.public Object getProperty(String name)
getProperty
in interface IMonitoringEvent
name
- The property name.public Map<String,Object> getProperties()
getProperties
in interface IMonitoringEvent
name
- The property name.public IMonitoringService.PublishEventLevel getLevel()
getLevel
in interface IMonitoringEvent
public IMonitoringEvent[] getBulkEvents()
public void setBulkEvents(IMonitoringEvent[] events)
events
- The events to set.Copyright © 2013. All Rights Reserved.