SqliteIssueReporter Class

SQLite issue reporter. Can be provided to ConnectorRunner in setIssueReporter

Implements

Methods

Name Description
constructor(contextId: string, iModelId: string, activityId: string, fileId: string, outputDir?: any, operationType?: "NormalUpdate" | "AllDocsProcessed", filePath?: any, jobId?: string, deleteReportDB?: boolean): SqliteIssueReporter    
close(): Promise<void>    
createJsonReport(): { context: { activityid: string, briefcaseid: undefined | number, contextid: string, imodelid: string, jobid: undefined | string, operationType: "NormalUpdate" | "AllDocsProcessed", reportType: string, timestamp: string }, filerecords: any[], sourceFilesInfo: any }    
getReportPath(): string    
publishReport(): Promise<void>    
recordIgnoredElements(repositoryLinkId: string, ignoredElementIdList: string): void    
recordReferenceFileInfo(sourceId: string, name: string, uniqueName: string, itemType: string, dataSource: string, downloadUrl: string, state: string, failureReason: string, exists: boolean, fileSize: number, foundByConnector: boolean): void    
recordSourceFileInfo(sourceId: string, name: string, uniqueName: string, itemType: string, dataSource: string, state: string, failureReason: string, exists: boolean, fileSize: number, foundByConnector: boolean, downloadUrl?: string): void    
reportIssue(ecInstanceId: string, sourceId: string, level: "Error" | "Warning", category: string, message: string, type: string): void    
setBriefcaseId(briefcaseId: number): void    
setPostPublishingProcessor(processor: PostPublishingProcessor): void    

Defined in

Last Updated: 13 May, 2024