com.ibm.rational.test.lt.testeditor.common

Class DatapoolUtil

  • All Implemented Interfaces:
    com.ibm.rational.test.lt.testeditor.main.LoadTestLoggingConstants


    public class DatapoolUtil
    extends Object
    implements com.ibm.rational.test.lt.testeditor.main.LoadTestLoggingConstants
    • Field Detail

      • KEY_LAST_MODIFIED

        public static String KEY_LAST_MODIFIED
    • Method Detail

      • removeDatapoolsEx

        public static boolean removeDatapoolsEx(LoadTestEditor editor,
                                Object[] objects)
      • createDatapoolUi

        public static TreeViewer createDatapoolUi(LoadTestEditor editor,
                                  Composite parent,
                                  int heightHint,
                                  boolean includeDatapools)
        Parameters:
        editor -
        parent -
        heightHint -
        includeDatapools -
        Returns:
        TreeViewer
      • openDatapool

        public static org.eclipse.hyades.edit.datapool.IDatapool openDatapool(String path)
      • getSystemFile

        public static File getSystemFile(String path)
      • getEclipseFile

        public static IPath getEclipseFile(String path)
        Parameters:
        path -
        Returns:
        IPath
      • getEclipseFile2

        public static IFile getEclipseFile2(String path)
        Parameters:
        path -
        Returns:
        IFile
      • closeDatapool

        public static void closeDatapool(org.eclipse.hyades.edit.datapool.IDatapool datapool)
        Parameters:
        datapool -
      • getDatapoolColumnsEx

        public static ArrayList getDatapoolColumnsEx(Datapool myDatapool)
      • getDatapoolColumns

        public static ArrayList getDatapoolColumns(Datapool myDatapool)
      • getDatapoolHarvesters

        public static List getDatapoolHarvesters(LTTest test)
      • getErrorMsg

        public static String getErrorMsg()
        Returns:
        Returns the errorMsg.
      • setErrorMsg

        public static void setErrorMsg(String errorMsg)
        Parameters:
        errorMsg - The errorMsg to set.
      • getDependentSubstituters

        public static List getDependentSubstituters(Datapool dp)
        Parameters:
        dp -
        Returns:
        List
      • createHarvesterX

        public static com.ibm.rational.test.common.models.behavior.cbdata.DatapoolHarvester createHarvesterX(Datapool dp,
                                                                                             int colNum,
                                                                                             com.ibm.rational.test.lt.core.utils.DatapoolFastAccess.ColumnInfo var,
                                                                                             String name)
      • createColumn

        public static com.ibm.rational.test.common.models.behavior.cbdata.DatapoolHarvester createColumn(Datapool datapool,
                                                                                         String colName,
                                                                                         String selectedText,
                                                                                         LoadTestEditor editor)
        Parameters:
        datapool -
        selectedText -
      • createHarvesterX

        public static com.ibm.rational.test.common.models.behavior.cbdata.DatapoolHarvester createHarvesterX(Datapool datapool,
                                                                                             String colName,
                                                                                             String selectedText,
                                                                                             LoadTestEditor editor)
        Parameters:
        datapool -
        colName -
        selectedText -
        editor -
        Returns:
        DatapoolHarvester
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.