Package jadex.bridge
Class BulkMonitoringEvent
- java.lang.Object
 - 
- jadex.bridge.BulkMonitoringEvent
 
 
- 
- All Implemented Interfaces:
 IMonitoringEvent
public class BulkMonitoringEvent extends java.lang.Object implements IMonitoringEvent
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected IMonitoringEvent[]eventsThe bulk events.- 
Fields inherited from interface jadex.bridge.service.types.monitoring.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 Summary
Constructors Constructor Description BulkMonitoringEvent()BulkMonitoringEvent(IMonitoringEvent[] events) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMonitoringEvent[]getBulkEvents()Get the bulk events.IMonitoringService.PublishEventLevelgetLevel()Get the event importance.java.util.Map<java.lang.String,java.lang.Object>getProperties()Get a property.java.lang.ObjectgetProperty(java.lang.String name)Get a property.longgetSourceCreationTime()Get the source creation time, i.e.java.lang.StringgetSourceDescription()Get the source description, e.g.IComponentIdentifiergetSourceIdentifier()Get the caller.longgetTime()Get the time.java.lang.StringgetType()Get the type.voidsetBulkEvents(IMonitoringEvent[] events)Set the events. 
 - 
 
- 
- 
Field Detail
- 
events
protected IMonitoringEvent[] events
The bulk events. 
 - 
 
- 
Constructor Detail
- 
BulkMonitoringEvent
public BulkMonitoringEvent()
 
- 
BulkMonitoringEvent
public BulkMonitoringEvent(IMonitoringEvent[] events)
 
 - 
 
- 
Method Detail
- 
getSourceIdentifier
public IComponentIdentifier getSourceIdentifier()
Get the caller.- Specified by:
 getSourceIdentifierin interfaceIMonitoringEvent- Returns:
 - The caller.
 
 
- 
getSourceDescription
public java.lang.String getSourceDescription()
Get the source description, e.g. if it is a service.- Specified by:
 getSourceDescriptionin interfaceIMonitoringEvent- Returns:
 - The source description.
 
 
- 
getSourceCreationTime
public long getSourceCreationTime()
Get the source creation time, i.e. the time when the component was created.- Specified by:
 getSourceCreationTimein interfaceIMonitoringEvent- Returns:
 - The creation time.
 
 
- 
getType
public java.lang.String getType()
Get the type.- Specified by:
 getTypein interfaceIMonitoringEvent- Returns:
 - The type.
 
 
- 
getTime
public long getTime()
Get the time.- Specified by:
 getTimein interfaceIMonitoringEvent- Returns:
 - The time.
 
 
- 
getProperty
public java.lang.Object getProperty(java.lang.String name)
Get a property.- Specified by:
 getPropertyin interfaceIMonitoringEvent- Parameters:
 name- The property name.- Returns:
 - The property.
 
 
- 
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Get a property.- Specified by:
 getPropertiesin interfaceIMonitoringEvent- Parameters:
 name- The property name.- Returns:
 - The property.
 
 
- 
getLevel
public IMonitoringService.PublishEventLevel getLevel()
Get the event importance.- Specified by:
 getLevelin interfaceIMonitoringEvent
 
- 
getBulkEvents
public IMonitoringEvent[] getBulkEvents()
Get the bulk events.- Returns:
 - The bulk events.
 
 
- 
setBulkEvents
public void setBulkEvents(IMonitoringEvent[] events)
Set the events.- Parameters:
 events- The events to set.
 
 - 
 
 -