Interface ComConstants

  • All Known Implementing Classes:
    Constants

    public interface ComConstants
    Represents the ecu.test specific COMConstants API.
    • Method Detail

      • getCount

        int getCount()
              throws ETComException
        Queries the number of constants.
        Returns:
        the number of constants
        Throws:
        ETComException - in case of a COM exception
      • item

        ComConstant item​(int id)
                  throws ETComException
        Returns a specified constant by index. The index should be larger than 0 and lesser than the number of constants. The count of constants can be determined with getCount().
        Parameters:
        id - the id of the constant
        Returns:
        the specified constant
        Throws:
        ETComException - in case of a COM exception
      • item

        ComConstant item​(String name)
                  throws ETComException
        Returns a specified constant by name.
        Parameters:
        name - the name of the constant
        Returns:
        the specified constant
        Throws:
        ETComException - in case of a COM exception