|
TPTP 4.3.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.test.common.event.ExecutionEvent
Mirror of TPFExecutionEvent
for the execution environment with support for annotations. An annotation can be
a file or byte array.
| Field Summary |
|---|
| 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 | |
|---|---|
ExecutionEvent()
|
|
| Method Summary | |
|---|---|
void |
addAnnotation(EventAnnotation eventAnnotation)
Adds the parameter annotation ( EventAnnotation) to add to the list
of annotations.
|
void |
addProperty(EventProperty eventProperty)
Adds the parameter property ( EventProperty) to add to the list
of properties.
|
void |
addRepositoryRecords(RepositoryRecord record)
Adds the specified record ( RepositoryRecord) to add to the list
of repository records. |
protected void |
addXMLAnnotations(java.lang.StringBuffer xmlBuffer)
Add the annotation attributes and CDATA sections to the xml StringBuffer that
is used by the toString() method. |
protected void |
addXMLAttributes(java.lang.StringBuffer xml)
Add the attributes to the xml StringBuffer that
is used by the toString() method. |
protected void |
addXMLProperties(java.lang.StringBuffer xml)
Add the property attributes to the xml StringBuffer that
is used by the toString() method. |
protected void |
addXMLRepositoryRecords(java.lang.StringBuffer xml)
Add the repository record attributes to the xml StringBuffer that
is used by the toString() method. |
void |
clearAnnotations()
Clears the list of annotations ( EventAnnotation).
|
void |
clearProperties()
Clears the list of properties ( EventProperty).
|
void |
clearRepositoryRecords()
Clears the list of repository records ( RepositoryRecord). |
java.util.List |
getAnnotations()
Returns the non-null list of annotations ( EventAnnotation).
|
int |
getConflict()
|
java.lang.String |
getEventType()
|
java.lang.String |
getId()
Returns the id of this event. |
java.lang.String |
getName()
|
java.lang.String |
getOwnerId()
Returns the owner id of this event. |
java.lang.String |
getParentId()
Returns the ID of the parent event |
java.util.ArrayList |
getProperties()
Returns the non-null list of properties ( EventProperty).
|
java.util.ArrayList |
getRepositoryRecords()
Returns the non-null list of repository records ( RepositoryRecord). |
java.lang.String |
getSortBy()
|
java.lang.String |
getText()
Returns the text of this event. |
long |
getTimestamp()
Returns the timestamp of this event. |
protected java.lang.String |
getXMLAnnotationRoot()
Returns the string that is used as the tag for annotation xml fragment generated by the toString() method. |
protected java.lang.String |
getXMLPropertyRoot()
Returns the string that is used as the tag for property xml fragment generated by the toString() method. |
protected java.lang.String |
getXMLRepositoryRecordRoot()
Returns the string that is used as the tag for repository record xml fragment generated by the toString() method. |
protected java.lang.String |
getXMLRoot()
Returns the string that is used as the root of the xml fragment generated by the toString() method. |
void |
setConflict(int conflict)
This attribute indicates what should be done by the execution history loader if it finds an existing event with the same credentials (hierarchical id). |
void |
setEventType(java.lang.String eventType)
This attribute is optional. |
void |
setId(java.lang.String value)
Sets the id of this event. |
void |
setName(java.lang.String name)
If this attribute is speicified, the execution history viewer will use it as the label of the tree element for this event. |
void |
setOwnerId(java.lang.String value)
Sets the owner id of this event. |
void |
setParentId(java.lang.String parentId)
Sets the ID of the parent event |
void |
setSortBy(java.lang.String sortBy)
Set this attribute if this event needs to be sorted within the scope of its immediate parent in the execution history. |
void |
setText(java.lang.String value)
Sets the text of this event. |
void |
setTimestamp(long value)
Sets the timestamp of this event. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ExecutionEvent()
| Method Detail |
public java.lang.String getId()
public void setId(java.lang.String value)
value - public java.lang.String getParentId()
public void setParentId(java.lang.String parentId)
parentId - public java.lang.String getOwnerId()
public void setOwnerId(java.lang.String value)
value - public long getTimestamp()
public void setTimestamp(long value)
toString() method if this
getTimestamp() returns 0.
value - public java.lang.String getText()
public void setText(java.lang.String value)
public java.lang.String getEventType()
public void setEventType(java.lang.String eventType)
eventType - The eventType to set.public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public java.lang.String getSortBy()
public void setSortBy(java.lang.String sortBy)
sortBy - The sortBy to set.public int getConflict()
public void setConflict(int conflict)
conflict - The conflict to set.public java.util.ArrayList getProperties()
EventProperty).
EventProperty).public void addProperty(EventProperty eventProperty)
EventProperty) to add to the list
of properties.
eventProperty - The property to be added to the list of properties.public void clearProperties()
EventProperty).
public java.util.List getAnnotations()
EventAnnotation).
EventAnnotation).public void addAnnotation(EventAnnotation eventAnnotation)
EventAnnotation) to add to the list
of annotations.
eventAnnotation - The annotation to be added to the list of annotations.public void clearAnnotations()
EventAnnotation).
public java.util.ArrayList getRepositoryRecords()
RepositoryRecord).
RepositoryRecord).public void addRepositoryRecords(RepositoryRecord record)
RepositoryRecord) to add to the list
of repository records.
record - The repository records to be added to the list of repository records.public void clearRepositoryRecords()
RepositoryRecord).
public java.lang.String toString()
Object.toString()protected java.lang.String getXMLRoot()
toString() method.
null Stringprotected java.lang.String getXMLPropertyRoot()
toString() method.
null Stringprotected java.lang.String getXMLAnnotationRoot()
toString() method.
null Stringprotected java.lang.String getXMLRepositoryRecordRoot()
toString() method.
null Stringprotected void addXMLAttributes(java.lang.StringBuffer xml)
StringBuffer that
is used by the toString() method.
xml - protected void addXMLProperties(java.lang.StringBuffer xml)
StringBuffer that
is used by the toString() method.
xml - protected void addXMLAnnotations(java.lang.StringBuffer xmlBuffer)
StringBuffer that
is used by the toString() method.
xmlBuffer - protected void addXMLRepositoryRecords(java.lang.StringBuffer xml)
StringBuffer that
is used by the toString() method.
xml -
|
TPTP 4.3.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||