TPTP 4.3.0 Testing Tools Project
Public API Specification

org.eclipse.tptp.test.common.event.provisional
Class AnnotatedVerdictEvent

java.lang.Object
  extended byorg.eclipse.hyades.test.common.event.ExecutionEvent
      extended byorg.eclipse.hyades.test.common.event.VerdictEvent
          extended byorg.eclipse.tptp.test.common.event.provisional.AnnotatedVerdictEvent
All Implemented Interfaces:
IEventConstants

Deprecated. As of TPTP V4.2.0, use VerdictEvent.

public class AnnotatedVerdictEvent
extends VerdictEvent

Annotated message event. An annotation can be a file or byte array.

Since:
October 7, 2005
Provisional API: This API is subject to change in the next release.
As of TPTP v4.1.0, this class is marked as 'provisional'.

Field Summary
 
Fields inherited from class org.eclipse.hyades.test.common.event.VerdictEvent
REASON_ABORT, REASON_DID_NOT_COMPLETE, REASON_NONE, REASON_SEE_DESCRIPTION, REASON_UNKNOWN, VERDICT_ERROR, VERDICT_FAIL, VERDICT_INCONCLUSIVE, VERDICT_PASS
 
Fields inherited from interface org.eclipse.hyades.test.common.event.IEventConstants
CONFLICT_IGNORE, CONFLICT_NONE, CONFLICT_OVERWRITE, CONFLICT_OVERWRITE_IF_EARLIEST, CONFLICT_OVERWRITE_IF_LATEST, NOT_INITIALIZED_VALUE, ROOT_PARENT
 
Constructor Summary
AnnotatedVerdictEvent()
          Deprecated.  
 
Method Summary
 void addAnnotation(EventAnnotation eventAnnotation)
          Deprecated.  
protected  void addXMLAnnotations(java.lang.StringBuffer xml)
          Deprecated. Add the annotation attributes and CDATA sections to the xml StringBuffer that is used by the toString() method.
 void clearAnnotations()
          Deprecated. Clears the list of annotations (EventAnnotation).
static java.lang.StringBuffer createCDATASection(byte[] contents)
          Deprecated.  
 java.util.List getAnnotations()
          Deprecated. Returns the non-null list of annotations (EventAnnotation).
protected  java.lang.String getXMLAnnotationRoot()
          Deprecated. Returns the string that is used as the tag for annotation xml fragment generated by the toString() method.
protected  java.lang.String getXMLRoot()
          Deprecated. Returns the string that is used as the root of the xml fragment generated by the toString() method.
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class org.eclipse.hyades.test.common.event.VerdictEvent
addXMLAttributes, getCausedBy, getReason, getVerdict, setCausedBy, setReason, setVerdict
 
Methods inherited from class org.eclipse.hyades.test.common.event.ExecutionEvent
addAnnotation, addProperty, addRepositoryRecords, addXMLProperties, addXMLRepositoryRecords, clearProperties, clearRepositoryRecords, getConflict, getEventType, getId, getName, getOwnerId, getParentId, getProperties, getRepositoryRecords, getSortBy, getText, getTimestamp, getXMLPropertyRoot, getXMLRepositoryRecordRoot, setConflict, setEventType, setId, setName, setOwnerId, setParentId, setSortBy, setText, setTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotatedVerdictEvent

public AnnotatedVerdictEvent()
Deprecated. 
Method Detail

getAnnotations

public java.util.List getAnnotations()
Deprecated. 
Description copied from class: ExecutionEvent
Returns the non-null list of annotations (EventAnnotation).

Overrides:
getAnnotations in class ExecutionEvent
Returns:
Returns the annotations.

addAnnotation

public void addAnnotation(EventAnnotation eventAnnotation)
Deprecated. 

clearAnnotations

public void clearAnnotations()
Deprecated. 
Description copied from class: ExecutionEvent
Clears the list of annotations (EventAnnotation).

Overrides:
clearAnnotations in class ExecutionEvent

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class ExecutionEvent
See Also:
Object.toString()

getXMLAnnotationRoot

protected java.lang.String getXMLAnnotationRoot()
Deprecated. 
Returns the string that is used as the tag for annotation xml fragment generated by the toString() method.

Overrides:
getXMLAnnotationRoot in class ExecutionEvent
Returns:
a not null String

addXMLAnnotations

protected void addXMLAnnotations(java.lang.StringBuffer xml)
Deprecated. 
Add the annotation attributes and CDATA sections to the xml StringBuffer that is used by the toString() method.

Overrides:
addXMLAnnotations in class ExecutionEvent
Parameters:
xml -

createCDATASection

public static java.lang.StringBuffer createCDATASection(byte[] contents)
Deprecated. 
Returns:
String

getXMLRoot

protected java.lang.String getXMLRoot()
Deprecated. 
Description copied from class: ExecutionEvent
Returns the string that is used as the root of the xml fragment generated by the ExecutionEvent.toString() method.

Overrides:
getXMLRoot in class VerdictEvent
See Also:
org.eclipse.hyades.test.java.event.ExecutionEvent#getXMLRoot()

TPTP 4.3.0 Testing Tools Project
Public API Specification