TPTP 4.3.0 Monitoring Tools Project
Internal API Specification

org.eclipse.hyades.logging.parsers.internal.adapter.outputters
Class CBEtoMemoryOutputter

java.lang.Object
  extended byorg.eclipse.hyades.logging.adapter.impl.Component
      extended byorg.eclipse.hyades.logging.adapter.impl.ProcessUnit
          extended byorg.eclipse.hyades.logging.adapter.impl.Outputter
              extended byorg.eclipse.hyades.logging.parsers.internal.adapter.outputters.CBEProducerToConsumerNavigator
                  extended byorg.eclipse.hyades.logging.parsers.internal.adapter.outputters.CBEtoMemoryOutputter
All Implemented Interfaces:
org.eclipse.hyades.logging.adapter.IComponent, org.eclipse.hyades.logging.adapter.IOutputter, org.eclipse.hyades.logging.adapter.IProcessUnit

public class CBEtoMemoryOutputter
extends CBEProducerToConsumerNavigator

Since:
4.2 This outputter will convert in memory producer CommonBaseEvent to consumer CBECommonBaseEvent

Field Summary
protected  org.eclipse.hyades.models.hierarchy.TRCAgent agent
           
protected  java.lang.String associationEngine
           
protected  org.eclipse.hyades.models.cbe.CBECommonBaseEvent cbeEvent
           
protected  org.eclipse.hyades.loaders.util.HierarchyContext context
           
protected  org.eclipse.hyades.models.hierarchy.CorrelationContainer correlationContainer
           
protected  java.util.Stack extendedDataElementStack
           
protected  org.eclipse.emf.ecore.InternalEObject internalCBE
           
protected  org.eclipse.emf.ecore.InternalEObject internalComponentIdentification
           
protected  org.eclipse.emf.ecore.InternalEObject internalContextDataElement
           
protected  org.eclipse.emf.ecore.InternalEObject internalExtendedDataElement
           
protected  org.eclipse.emf.ecore.InternalEObject internalMsgDataElement
           
protected  org.eclipse.emf.ecore.InternalEObject internalSituation
           
 
Fields inherited from class org.eclipse.hyades.logging.parsers.internal.adapter.outputters.CBEProducerToConsumerNavigator
AvailableSituation_TYPE_HashCode, calls, cbeCount, ConfigureSituation_TYPE_HashCode, ConnectSituation_TYPE_HashCode, CreateSituation_TYPE_HashCode, DependencySituation_TYPE_HashCode, DestroySituation_TYPE_HashCode, eventsProcessed, FeatureSituation_TYPE_HashCode, OtherSituation_TYPE_HashCode, p, ReportSituation_TYPE_HashCode, RequestSituation_TYPE_HashCode, Situation_TYPE_HashCode, StartSituation_TYPE_HashCode, StopSituation_TYPE_HashCode
 
Fields inherited from class org.eclipse.hyades.logging.adapter.impl.ProcessUnit
flushingMode
 
Fields inherited from class org.eclipse.hyades.logging.adapter.impl.Component
logger, status, stopping
 
Constructor Summary
CBEtoMemoryOutputter()
           
 
Method Summary
protected  void addForwardReference(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference feature, java.lang.String value)
           
protected  void mapAssociatedEvents(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent object, int common_base_event__associated_events)
           
protected  void mapAttribute(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.AvailableSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ComponentIdentification eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ConfigureSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ConnectSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ContextDataElement eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.CreateSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.DependencySituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.DestroySituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.FeatureSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.MsgDataElement eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.OtherSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ReportSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.RequestSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.Situation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.SituationType eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.StartSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.StopSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void postProcessEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event)
           
protected  void preProcessEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event)
           
protected  org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] processCBEs(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] events)
          Process the CommonBaseEvent events passed in.
protected  void processResolvedEvents(java.lang.String value)
           
protected  void updateCorrelationContainer(org.eclipse.hyades.logging.events.cbe.AssociationEngine associationEngine)
           
 
Methods inherited from class org.eclipse.hyades.logging.parsers.internal.adapter.outputters.CBEProducerToConsumerNavigator
mapContainmentReference, normalizeObject, processEvent, processEventItems, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, start, stop, testProcessEventItems, update
 
Methods inherited from class org.eclipse.hyades.logging.adapter.impl.ProcessUnit
flushEventItems, getProperties, setProperties, updateConfigurationPropertyChild
 
Methods inherited from class org.eclipse.hyades.logging.adapter.impl.Component
clean, getComponents, getComponentStatus, getConfiguration, getContextConfiguration, getDescription, getEventFactory, getExecutableClassName, getImplementationCreationDate, getImplementationVersion, getImplementationVersionDescription, getItemsProcessedCount, getLogger, getLoggingLevel, getName, getParent, getRole, getRoleCreationDate, getRoleVersion, getRoleVersionDescription, getUniqueID, incrementItemsProcessedCount, incrementItemsProcessedCount, init, isDisabled, isStopping, log, log, setComponents, setConfiguration, setContextConfiguration, setDescription, setDisabled, setExecutableClassName, setImplemenationCreationDate, setImplementationVersion, setImplementationVersionDescription, setLogger, setLoggingLevel, setName, setParent, setRole, setRoleCreationDate, setRoleVersion, setRoleVersionDescription, setStopping, setUniqueID, stop, trace, trace, trace, update, updateConfigurationAttribute, updateContextConfigurationAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.logging.adapter.IProcessUnit
flushEventItems
 
Methods inherited from interface org.eclipse.hyades.logging.adapter.IComponent
getComponents, getConfiguration, getContextConfiguration, getDescription, getExecutableClassName, getImplementationCreationDate, getImplementationVersion, getImplementationVersionDescription, getLogger, getLoggingLevel, getName, getParent, getRole, getRoleCreationDate, getRoleVersion, getRoleVersionDescription, getUniqueID, init, log, log, setComponents, setConfiguration, setContextConfiguration, setDescription, setExecutableClassName, setImplemenationCreationDate, setImplementationVersion, setImplementationVersionDescription, setLogger, setLoggingLevel, setName, setParent, setRole, setRoleCreationDate, setRoleVersion, setRoleVersionDescription, setUniqueID, update
 

Field Detail

cbeEvent

protected org.eclipse.hyades.models.cbe.CBECommonBaseEvent cbeEvent

internalCBE

protected org.eclipse.emf.ecore.InternalEObject internalCBE

internalSituation

protected org.eclipse.emf.ecore.InternalEObject internalSituation

internalExtendedDataElement

protected org.eclipse.emf.ecore.InternalEObject internalExtendedDataElement

internalComponentIdentification

protected org.eclipse.emf.ecore.InternalEObject internalComponentIdentification

internalMsgDataElement

protected org.eclipse.emf.ecore.InternalEObject internalMsgDataElement

internalContextDataElement

protected org.eclipse.emf.ecore.InternalEObject internalContextDataElement

extendedDataElementStack

protected java.util.Stack extendedDataElementStack

agent

protected org.eclipse.hyades.models.hierarchy.TRCAgent agent

context

protected org.eclipse.hyades.loaders.util.HierarchyContext context

associationEngine

protected java.lang.String associationEngine

correlationContainer

protected org.eclipse.hyades.models.hierarchy.CorrelationContainer correlationContainer
Constructor Detail

CBEtoMemoryOutputter

public CBEtoMemoryOutputter()
Method Detail

postProcessEvent

protected void postProcessEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event)
Overrides:
postProcessEvent in class CBEProducerToConsumerNavigator

preProcessEvent

protected void preProcessEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event)
Overrides:
preProcessEvent in class CBEProducerToConsumerNavigator

processCBEs

protected org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] processCBEs(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] events)
Description copied from class: CBEProducerToConsumerNavigator
Process the CommonBaseEvent events passed in.

Overrides:
processCBEs in class CBEProducerToConsumerNavigator
Parameters:
events - - array of CommonBaseEvent objects to process
Returns:
the same array of CommonBaseEvent objects that was passed in.

processResolvedEvents

protected void processResolvedEvents(java.lang.String value)

updateCorrelationContainer

protected void updateCorrelationContainer(org.eclipse.hyades.logging.events.cbe.AssociationEngine associationEngine)

addForwardReference

protected void addForwardReference(org.eclipse.emf.ecore.EObject owner,
                                   org.eclipse.emf.ecore.EReference feature,
                                   java.lang.String value)

mapAssociatedEvents

protected void mapAssociatedEvents(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent object,
                                   int common_base_event__associated_events)
Overrides:
mapAssociatedEvents in class CBEProducerToConsumerNavigator

mapAttribute

protected void mapAttribute(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent eObject,
                            int sourceFeatureID,
                            int targetFeatureID)
Overrides:
mapAttribute in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.AvailableSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ComponentIdentification eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ConfigureSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ConnectSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ContextDataElement eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.CreateSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.DependencySituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.DestroySituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.FeatureSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.MsgDataElement eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.OtherSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ReportSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.RequestSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.Situation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.SituationType eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.StartSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.StopSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

TPTP 4.3.0 Monitoring Tools Project
Internal API Specification