Interface ICCImportFlowPointParent
- All Superinterfaces:
ICCBase,ICCTreeItem
- All Known Subinterfaces:
ICCImportFile,ICCImportFlowPoint
Represents an artifact that is a parent of a flowpoint and therefore
can create one as its child
In v9 flowpoints must have a valid first line number.
Trying to create a flowpoint with a zero line number will result in a
CCImportFlowPointException being thrown- Since:
- 9.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateFlowPoint(String name, int firstLine) Creates a flow point (entry/function/paragraph) with this flowpoint as parent Allows the first line to be set on creation, last line defaults to the first line The returned flowpoint can be used to set additional information Flowpoints created using this method are added as a child of this flowpointcreateFlowPoint(String name, int firstLine, int lastLine) Creates a flow point (entry/function/paragraph) with this flowpoint as parent Allows the first and last line to be set on creation The returned flowpoint can be used to set additional information Flowpoints created using this method are added as a child of this flowpointcreateFlowPoint(String name, int firstLine, int lastLine, byte type) Creates a flow point (entry/function/paragraph) with this flowpoint as parent Allows the first and last line to be set on creation The returned flowpoint can be used to set additional information Flowpoints created using this method are added as a child of this flowpointMethods 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.ICCTreeItem
addChild, addChildren, getChild, getChildren, getNumChildren, getParent, getQualifiedName, getUniqueID, getUUID, isRoot, refresh, setParent, setUUID, supportsUUID
-
Method Details
-
createFlowPoint
ICCImportFlowPoint createFlowPoint(String name, int firstLine) throws CCDuplicateFlowPointException, CCImportFlowPointException Creates a flow point (entry/function/paragraph) with this flowpoint as parent Allows the first line to be set on creation, last line defaults to the first line The returned flowpoint can be used to set additional information Flowpoints created using this method are added as a child of this flowpoint- Parameters:
name- unqualified flowpoint namefirstLine- first executable line in the flowpoint, last line will be defaulted to the first line, last line can be updated later but the first line is required for proper sorting- Returns:
ICCImportFlowPoint- Throws:
CCDuplicateFlowPointException- if flowpoint already existsCCImportFlowPointException- problems processing the flowpoint- Since:
- 9.0
-
createFlowPoint
ICCImportFlowPoint createFlowPoint(String name, int firstLine, int lastLine) throws CCDuplicateFlowPointException, CCImportFlowPointException Creates a flow point (entry/function/paragraph) with this flowpoint as parent Allows the first and last line to be set on creation The returned flowpoint can be used to set additional information Flowpoints created using this method are added as a child of this flowpoint- Parameters:
name- unqualified flowpoint namefirstLine- first executable line in the flowpointlastLine- last executable line in the flowpoint- Returns:
ICCImportFlowPoint- Throws:
CCDuplicateFlowPointException- if flowpoint already existsCCImportFlowPointException- problems processing the flowpoint- Since:
- 8.0
-
createFlowPoint
ICCImportFlowPoint createFlowPoint(String name, int firstLine, int lastLine, byte type) throws CCDuplicateFlowPointException, CCImportFlowPointException Creates a flow point (entry/function/paragraph) with this flowpoint as parent Allows the first and last line to be set on creation The returned flowpoint can be used to set additional information Flowpoints created using this method are added as a child of this flowpoint- Parameters:
name- unqualified flowpoint namefirstLine- first executable line in the flowpointlastLine- last executable line in the flowpointtype- seeICCFlowPointfor pre-defined types- Returns:
ICCImportFlowPoint- Throws:
CCDuplicateFlowPointException- if flowpoint already existsCCImportFlowPointException- problems processing the flowpoint- Since:
- 8.0
-