TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.analysis.engine
Class Incident

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.hyades.logging.events.cbe.impl.SerializableImpl
                  extended byorg.eclipse.hyades.logging.events.cbe.impl.CommonBaseEventImpl
                      extended byorg.eclipse.hyades.analysis.engine.Incident
All Implemented Interfaces:
java.lang.Cloneable, CommonBaseEvent, org.eclipse.emf.ecore.EObject, ICommonBaseEvent, IExternalizableToXml, IInternalizableFromXml, org.eclipse.emf.ecore.InternalEObject, ISerializableAsXml, org.eclipse.emf.common.notify.Notifier, java.io.Serializable

public class Incident
extends CommonBaseEventImpl

Class defining an incident. An incident is the occurance of an event (e.g. log, trace, etc.) that is used for analyis purposes. The incident is used by the analysis engine to match against the collection of symptoms contained in a symptom database.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.hyades.logging.events.cbe.impl.CommonBaseEventImpl
any, associatedEvents, contextDataElements, CREATION_TIME_EDEFAULT, creationTime, creationTimeESet, ELAPSED_TIME_EDEFAULT, elapsedTime, elapsedTimeESet, extendedDataElements, EXTENSION_NAME_EDEFAULT, extensionName, GLOBAL_INSTANCE_ID_EDEFAULT, globalInstanceId, LOCAL_INSTANCE_ID_EDEFAULT, localInstanceId, msg, MSG_EDEFAULT, msgDataElement, priority, PRIORITY_EDEFAULT, priorityESet, REPEAT_COUNT_EDEFAULT, repeatCount, repeatCountESet, reporterComponentId, SEQUENCE_NUMBER_EDEFAULT, sequenceNumber, sequenceNumberESet, severity, SEVERITY_EDEFAULT, severityESet, situation, sourceComponentId, version, VERSION_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.hyades.logging.events.cbe.CommonBaseEvent
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM, SEVERITY_CRITICAL, SEVERITY_FATAL, SEVERITY_HARMLESS, SEVERITY_INFORMATION, SEVERITY_MINOR, SEVERITY_UNKNOWN, SEVERITY_WARNING
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
Incident()
          Constructor for creating an empty Incident.
Incident(java.lang.String messageId)
          Constructor for creating an Incident with the parameter unique message identifier.
 
Method Summary
 java.lang.String getMessageId()
          Gets the unique message identifier.
 void init()
          Resets the Incident to a 'newed object' state.
 void reset()
          Resets the Incident to a 'newed object' state.
 void setMessageId(java.lang.String messageId)
          Sets the unique message identifier.
 
Methods inherited from class org.eclipse.hyades.logging.events.cbe.impl.CommonBaseEventImpl
addAny, addAssociatedEvent, addAssociatedEvent, addContextDataElement, addContextDataElementWithId, addContextDataElementWithValue, addExtendedDataElement, addExtendedDataElement, addExtendedDataElement, addExtendedDataElement, addExtendedDataElement, addExtendedDataElement, addExtendedDataElementWithBooleanArrayValue, addExtendedDataElementWithBooleanValue, addExtendedDataElementWithByteArrayValue, addExtendedDataElementWithByteValue, addExtendedDataElementWithDateArrayValue, addExtendedDataElementWithDateAsLongValue, addExtendedDataElementWithDatesAsLongValue, addExtendedDataElementWithDateValue, addExtendedDataElementWithDoubleArrayValue, addExtendedDataElementWithDoubleValue, addExtendedDataElementWithFloatArrayValue, addExtendedDataElementWithFloatValue, addExtendedDataElementWithHexValue, addExtendedDataElementWithHexValue, addExtendedDataElementWithIntArrayValue, addExtendedDataElementWithIntValue, addExtendedDataElementWithLongArrayValue, addExtendedDataElementWithLongValue, addExtendedDataElementWithNoValue, addExtendedDataElementWithShortArrayValue, addExtendedDataElementWithShortValue, basicSetMsgDataElement, basicSetReporterComponentId, basicSetSituation, basicSetSourceComponentId, clearAny, clearAssociatedEvents, clearContextDataElements, clearExtendedDataElements, clone, complete, eGet, eInverseRemove, eIsSet, equals, eSet, eStaticClass, eUnset, externalizeCanonicalXmlDocString, externalizeCanonicalXmlString, getAny, getAssociatedEvents, getContentHandler, getContextDataElements, getContextDataElements, getCreationTime, getCreationTimeAsLong, getElapsedTime, getExtendedDataElements, getExtendedDataElements, getExtensionName, getGlobalInstanceId, getLocalInstanceId, getMsg, getMsgDataElement, getPriority, getRepeatCount, getReporterComponentId, getSequenceNumber, getSeverity, getSituation, getSourceComponentId, getVersion, internalizeCanonicalXmlDocString, internalizeCanonicalXmlString, isComplete, isSetCreationTime, isSetElapsedTime, isSetPriority, isSetRepeatCount, isSetSequenceNumber, isSetSeverity, removeContextDataElements, removeExtendedDataElements, setContentHandler, setCreationTime, setCreationTimeAsLong, setElapsedTime, setExtensionName, setGlobalInstanceId, setLocalInstanceId, setMsg, setMsgDataElement, setMsgDataElement, setMsgDataElement, setPriority, setRepeatCount, setReporterComponentId, setReporterComponentId, setReporterComponentId, setSequenceNumber, setSeverity, setSituation, setSourceComponentId, setSourceComponentId, setSourceComponentId, setVersion, toString, unsetCreationTime, unsetElapsedTime, unsetPriority, unsetRepeatCount, unsetSequenceNumber, unsetSeverity, validate
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Constructor Detail

Incident

public Incident()
Constructor for creating an empty Incident.


Incident

public Incident(java.lang.String messageId)
Constructor for creating an Incident with the parameter unique message identifier.

Parameters:
messageId - the unique message identifier
Method Detail

setMessageId

public void setMessageId(java.lang.String messageId)
Sets the unique message identifier.

Parameters:
messageId - the unique message identifier
See Also:
getMessageId()

getMessageId

public java.lang.String getMessageId()
Gets the unique message identifier.

Returns:
the unique message identifier
See Also:
setMessageId(String)

reset

public void reset()
Resets the Incident to a 'newed object' state.


init

public void init()
Resets the Incident to a 'newed object' state.

Specified by:
init in interface CommonBaseEvent
Overrides:
init in class CommonBaseEventImpl

TPTP 4.2.0 Platform Project
Public API Specification