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

Class AnnotationFileEvent

  • java.lang.Object
    • org.eclipse.hyades.test.common.event.ExecutionEvent
      • 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

      Fields 
      Modifier and Type Field and Description
      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
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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
    • Field Detail

      • FILEPROPERTYNAME

        public static final String FILEPROPERTYNAME
      • FILEPROPERTYTYPE

        public static final String FILEPROPERTYTYPE
    • 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. 2013. All rights reserved.