|
TPTP 4.1.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
This is a flat class packaged in the execution environment and it mirrors the org.eclipse.hyades.models.common.testprofile.TPFExecutionEvent
| 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 | |
|---|---|
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. |
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()
|
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 |
getXMLPropertyRoot()
Returns the string that is used as the tag for property 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()
public java.lang.String toString()
Object.toString()protected java.lang.String getXMLRoot()
toString() method.
null Stringprotected java.lang.String getXMLPropertyRoot()
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 -
|
TPTP 4.1.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||