Interface ICCImportFlowPointParent

All Superinterfaces:
ICCBase, ICCTreeItem
All Known Subinterfaces:
ICCImportFile, ICCImportFlowPoint

public interface ICCImportFlowPointParent extends ICCTreeItem
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 Details

    • createFlowPoint

      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 name
      firstLine - 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 exists
      CCImportFlowPointException - 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 name
      firstLine - first executable line in the flowpoint
      lastLine - last executable line in the flowpoint
      Returns:
      ICCImportFlowPoint
      Throws:
      CCDuplicateFlowPointException - if flowpoint already exists
      CCImportFlowPointException - 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 name
      firstLine - first executable line in the flowpoint
      lastLine - last executable line in the flowpoint
      type - see ICCFlowPoint for pre-defined types
      Returns:
      ICCImportFlowPoint
      Throws:
      CCDuplicateFlowPointException - if flowpoint already exists
      CCImportFlowPointException - problems processing the flowpoint
      Since:
      8.0