com.ibm.rational.test.lt.codegen.core.config

Interface IExtensionPreferences



  • public interface IExtensionPreferences
    Public interface of com.ibm.rational.test.lt.codegen.lttest.config.LTTestExtensionPreferences class. RPT protocol extension providers are expected to extend the above class only with respect to this interface.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      String getModelReaderType()
      Returns the type of test Behavior Model reader to be registered with code generation subsystem.
      String getStructureDefinitionType()
      Returns the type of test script structure to be registered with code generation subsystem.
      String[] getSupportedModelElementTypes()
      Returns the array of test script model element types to be registered with code generation subsystem.
      com.ibm.rational.test.lt.codegen.lttest.config.LTTestExtensionPreferences supportsFeatures(List<LTFeature> featureList)
      Allows protocol extensions to declare support for LTTest features so that the appropriate protocol extension is used for a given LTTest
    • Method Detail

      • getModelReaderType

        String getModelReaderType()
        Returns the type of test Behavior Model reader to be registered with code generation subsystem. The reader type has to be defined by an extension to modelReader extension point in codegen.core. which identifies the model reader implementation class. If LTTestExtensionPreferences doesn't override this method, the default LTTest Model Reader is used.
        Returns:
        string identifying the model reader type
      • getStructureDefinitionType

        String getStructureDefinitionType()
        Returns the type of test script structure to be registered with code generation subsystem. The structure definition type has to be defined by an extension to structureDefinition extension point in codegen.core. which identifies the structure definition implementation class. This class performs the test script translation at the test class level, and is expected to be implemented by all protocol extensions.
        Returns:
        string identifying the structure definition type
      • getSupportedModelElementTypes

        String[] getSupportedModelElementTypes()
        Returns the array of test script model element types to be registered with code generation subsystem. The model element type has to be defined by an extension to typeDefDescription extension point in codegen.core which identifies the model element type implementation class.
        Returns:
        array of strings identifying supported model element types
      • supportsFeatures

        com.ibm.rational.test.lt.codegen.lttest.config.LTTestExtensionPreferences supportsFeatures(List<LTFeature> featureList)
        Allows protocol extensions to declare support for LTTest features so that the appropriate protocol extension is used for a given LTTest
        Parameters:
        featureList -
        Returns:
        the protocol extension's Preferences object (extension of LTTestExtensionPreferences) if the feature list indicates this extension should be used; null otherwise
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.