Interface ICCImportStatementData

All Superinterfaces:
ICCPercentItem, ICCStatementData, ICCStatementDataBasic
All Known Subinterfaces:
ICCImportFile, ICCImportFlowPoint

public interface ICCImportStatementData extends ICCStatementData
Implementors can create an ICCImportStatement Implementors must all add the statement to the artifact after it has been successfully created
Since:
9.0
  • Method Details

    • createStatement

      ICCImportStatement createStatement(int line, int... details)
      Creates a statement from a line number and optional details If needed the index and column and column end can be set later If the statement does not exist it will be added. If the statement already exists it will not be updated and the existing one will be returned. The returned statement (new or existing) can be used to update other fields
      Parameters:
      line - 1 based line number
      details - 0 or more details for the statement. The details must be supplied in the following order:
      1. index
      2. column start
      3. column end
      e.g. to specify column start, index must also be specified
      Returns:
      created statement or existing statement
    • setStatementHit

      boolean setStatementHit(int testID, int line, int index)
      Set the statement as being hit by a specific test case id
      Parameters:
      testID - testcase id
      line - line number
      index - statement index on line
      Returns:
      true if line existed and testid was set else false