Interface ComProject
-
- All Known Implementing Classes:
Project
public interface ComProject
Represents the ecu.test specific COMProject API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<AbstractTestClient.CheckInfoHolder>
check()
Returns a list of the errors of the project.String
checkNG()
Returns converted error descriptions into specific Warnings NG plugin JSON format.String
getName()
Queries the project name.String
getPackages()
Queries the list of packages used in this project.
-
-
-
Method Detail
-
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
List<AbstractTestClient.CheckInfoHolder> check() throws ETComException
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
- issues
-
-