All Known Implementing Classes:
Project

public interface ComProject
Represents the ecu.test specific COMProject API.
  • Method Details

    • getName

      String getName() throws ETComException
      Queries the project name.
      Returns:
      the name of this project
      Throws:
      ETComException - in case of a COM exception
    • getPackages

      String getPackages() throws ETComException
      Queries the list of packages used in this project.
      Returns:
      the list of referenced packages
      Throws:
      ETComException - in case of a COM exception
    • check

      Returns a list of the errors of the project.

      Every list element is a tuple containing:

      • file path
      • seriousness (Error, Warning, Note)
      • error message
      • line number
      Returns:
      the error list
      Throws:
      ETComException - in case of a COM exception
    • checkNG

      String checkNG() throws ETComException
      Returns converted error descriptions into specific Warnings NG plugin JSON format.
      • issues
        • fileName (Package name from file path)
        • severity (Error -> ERROR, Warning -> HIGH, Note -> NORMAL)
        • description (error message)
        • startLine (line number)
      • size (count of issues)
      Returns:
      the error descriptions as issues in JSON format
      Throws:
      ETComException - in case of a COM exception