Interface ICCImportFlowPoint
- All Superinterfaces:
Comparable<ICCFlowPoint>,ICCBase,ICCBranchData,ICCCoverageData,ICCCoverageDataBasic,ICCFlowPoint,ICCImportBranchData,ICCImportFlowPointParent,ICCImportStatementData,ICCPercentItem,ICCSource,ICCStatementData,ICCStatementDataBasic,ICCTreeItem
public interface ICCImportFlowPoint
extends ICCFlowPoint, ICCImportStatementData, ICCImportBranchData, ICCImportFlowPointParent
Represents a function/entry/paragraph in a file
Used during import to set values
- Since:
- 3.1
-
Field Summary
Fields inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCCoverageDataBasic
EMPTYTESTCASESFields inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCFlowPoint
BRANCH, COBOL_ENDPROGRAM, COBOL_PARAGRAPH, COBOL_PROGRAM_ID, COBOL_SECTION, COBOL_USER_DEFINED_FUNCTION, DETAILS_PROP, INCLUDE_FILE, JAVA_CLASS, JAVA_CONSTRUCTOR, JAVA_METHOD, JAVA_STATIC_INITIALIZER, NOT_DEFINED, QUALIFIED, QUALIFIER, UPPERCASEFields inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCSource
SOURCE_OBJECT -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBlockFirstLine(int line) Adds the first line for a block to the list of blocks.voidsetFirstLine(int line) Set the first linevoidsetHit()Optional method that says this flow point was hit If not used then the first line of the flow point is checked to determine if it was hitvoidsetLastLine(int line) Set the last linevoidAdds an array of executable lines to this flow point Duplicates are ignoredvoidsetType(byte type) Sets the type of flowpoint.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCBase
addEncodedMessage, addMessage, addMessage, getDecodedMessages, getDecodedMessages, getID, getMessages, getName, getProperties, getProperty, getProperty, isMessage, isProperty, setName, setProperty, updatePropertyMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCBranchData
getBranchPoint, getBranchPoint, getBranchPoints, getEncodedFormatMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCCoverageData
getHitLines, getLines, getTestcases, isHit, removeTestcaseMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCCoverageDataBasic
getNumExecutableLines, getNumFlowPoints, getNumHitFlowPoints, getNumHitLines, getTestcases, isHitMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCFlowPoint
getCCFile, getFlowPoints, getLanguage, getLastLine, getLine, getName, getNumExecutableBlocks, getNumHitBlocks, getParentFlowPoint, getType, isNestedFlowPointsMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCImportBranchData
createBranchPoint, createBranchPoint, createBranchPointMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.importers.ICCImportFlowPointParent
createFlowPoint, createFlowPoint, createFlowPointMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCImportStatementData
createStatement, setStatementHitMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCPercentItem
getPercentCoverageMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCSource
getEncoding, getFile, getFile, getFileName, getProperty, getResult, getStream, getStream, isExternal, isSourceAvailable, setProperty, setSourceAvailable, updateFileMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCStatementData
getHitStatements, getLastStatement, getStatement, getStatement, getStatements, getStatements, getTestcases, isHitMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCStatementDataBasic
getNumExecutableStatements, getNumHitStatements, hasStatementsMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCTreeItem
addChild, addChildren, getChild, getChildren, getNumChildren, getParent, getQualifiedName, getUniqueID, getUUID, isRoot, refresh, setParent, setUUID, supportsUUID
-
Method Details
-
setLines
Adds an array of executable lines to this flow point Duplicates are ignored- Parameters:
lines- executable lines
-
setFirstLine
void setFirstLine(int line) Set the first line- Parameters:
line- first line- Since:
- 8.0
-
setLastLine
void setLastLine(int line) Set the last line- Parameters:
line- last line- Since:
- 8.0
-
setHit
void setHit()Optional method that says this flow point was hit If not used then the first line of the flow point is checked to determine if it was hit -
setType
void setType(byte type) Sets the type of flowpoint. This API uses a generic flowpoint to represent the various types of language specific entry points (each has a different name) This method allows the importer to set a type (there are some already defined)- Parameters:
type- seeICCFlowPointfor pre-defined types- Since:
- 8.0
-
addBlockFirstLine
void addBlockFirstLine(int line) Adds the first line for a block to the list of blocks.- Parameters:
line- first line of the block.- Since:
- 10.0
-