TPTP 4.3.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.common.event
Class LoopEvent

java.lang.Object
  extended byorg.eclipse.hyades.test.common.event.ExecutionEvent
      extended byorg.eclipse.hyades.test.common.event.LoopEvent
All Implemented Interfaces:
IEventConstants

public class LoopEvent
extends ExecutionEvent

This is a flat class packaged in the execution environment and it mirrors the TPFLoopEvent.


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
LoopEvent()
           
 
Method Summary
protected  void addXMLAttributes(java.lang.StringBuffer xml)
          Add the attributes to the xml StringBuffer that is used by the ExecutionEvent.toString() method.
 long getIterations()
           
protected  java.lang.String getXMLRoot()
          Returns the string that is used as the root of the xml fragment generated by the ExecutionEvent.toString() method.
 boolean isAsychronous()
           
 void setAsychronous(boolean b)
           
 void setIterations(long l)
           
 
Methods inherited from class org.eclipse.hyades.test.common.event.ExecutionEvent
addAnnotation, addProperty, addRepositoryRecords, addXMLAnnotations, addXMLProperties, addXMLRepositoryRecords, clearAnnotations, clearProperties, clearRepositoryRecords, getAnnotations, getConflict, getEventType, getId, getName, getOwnerId, getParentId, getProperties, getRepositoryRecords, getSortBy, getText, getTimestamp, getXMLAnnotationRoot, getXMLPropertyRoot, getXMLRepositoryRecordRoot, setConflict, setEventType, setId, setName, setOwnerId, setParentId, setSortBy, setText, setTimestamp, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoopEvent

public LoopEvent()
Method Detail

isAsychronous

public boolean isAsychronous()
Returns:
whether or not the loop is asychronous

getIterations

public long getIterations()
Returns:
the number of iterations in the loop

setAsychronous

public void setAsychronous(boolean b)

setIterations

public void setIterations(long l)

getXMLRoot

protected java.lang.String getXMLRoot()
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 ExecutionEvent
Returns:
a not null String
See Also:
org.eclipse.hyades.test.java.event.ExecutionEvent#getXMLRoot()

addXMLAttributes

protected void addXMLAttributes(java.lang.StringBuffer xml)
Description copied from class: ExecutionEvent
Add the attributes to the xml StringBuffer that is used by the ExecutionEvent.toString() method.

Overrides:
addXMLAttributes in class ExecutionEvent
Parameters:
xml -
See Also:
org.eclipse.hyades.test.java.event.ExecutionEvent#addXMLAttributes(java.lang.StringBuffer)

TPTP 4.3.0 Testing Tools Project
Public API Specification