IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.kernel.util
Class AnnotationFileEvent

java.lang.Object
  extended by org.eclipse.hyades.test.common.event.ExecutionEvent
      extended by com.ibm.rational.test.lt.kernel.util.AnnotationFileEvent
All Implemented Interfaces:
org.eclipse.hyades.test.common.event.IEventConstants

public class AnnotationFileEvent
extends org.eclipse.hyades.test.common.event.ExecutionEvent

AnnotationFileEvent is an event that is used to communicate the name of the annotation file to the loader. The name of the file must be in a property with the name AnnotationFileEvent.FILEPROPERTYNAME. The easiest way to create this property is to use setFileName()


Field Summary
static String FILEPROPERTYNAME
           
static String FILEPROPERTYTYPE
           
 
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
AnnotationFileEvent()
           
 
Method Summary
 String getFileName()
          gets the fileName attribute.
protected  String getXMLRoot()
           
 void setFileName(String fileName)
          Sets the fileName attribute.
 
Methods inherited from class org.eclipse.hyades.test.common.event.ExecutionEvent
addAnnotation, addProperty, addRepositoryRecords, addXMLAnnotations, addXMLAttributes, addXMLProperties, addXMLRepositoryRecords, clearAnnotations, clearProperties, clearRepositoryRecords, getAnnotations, getConflict, getEventType, getId, getName, getOwnerId, getOwnerType, getParentId, getProperties, getRepositoryRecords, getSortBy, getText, getTimestamp, getXMLAnnotationRoot, getXMLPropertyRoot, getXMLRepositoryRecordRoot, setConflict, setEventType, setId, setName, setOwnerId, setOwnerType, setParentId, setSortBy, setText, setTimestamp, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FILEPROPERTYNAME

public static final String FILEPROPERTYNAME
See Also:
Constant Field Values

FILEPROPERTYTYPE

public static final String FILEPROPERTYTYPE
See Also:
Constant Field Values
Constructor Detail

AnnotationFileEvent

public AnnotationFileEvent()
Method Detail

getXMLRoot

protected String getXMLRoot()
Overrides:
getXMLRoot in class org.eclipse.hyades.test.common.event.ExecutionEvent

setFileName

public void setFileName(String fileName)
Sets the fileName attribute.

More importantly, creates the property that names the annotation file and adds it to this event

Parameters:
fileName -

getFileName

public String getFileName()
gets the fileName attribute.

Returns:
String

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.