[]
        
(Showing Draft Content)

Core.PageReport

Class: PageReport

Core.PageReport

PageReport class

Table of contents

생성자

접근자

메소드

Constructors

constructor

new PageReport(options?)

Create new instance of PageReport class.

Parameters

Name Type Description
options? Partial<{ i18n: i18n ; language: string ; memoizeData: boolean }> pageReport options - language: report language. Default language is 'en'.

Accessors

name

get name(): string

Gets the report name.

Returns

string


parameters

get parameters(): ReportParameters

Gets the report parameters collection.

Returns

ReportParameters


resourceLocator

get resourceLocator(): ResourceLocator

Gets the report resource locator instance.

Returns

ResourceLocator


LicenseKey

Static get LicenseKey(): string

deprecated Use setLicenseKey method instead.

Returns

string

Static set LicenseKey(value): void

deprecated Use setLicenseKey method instead.

Parameters

Name Type
value string

Returns

void

Methods

load

load(report, options?): Promise<void>

Loads the report template.

Parameters

Name Type Description
report string | Report URI or the report template or template object.
options? Object Execution time settings.
options.environment? Environment -
options.resourceLocator? Partial<ResourceLocator> -

Returns

Promise<void>


run

run(): Promise<PageDocument>

Starts rendering the report.

Returns

Promise<PageDocument>


validateParameters

validateParameters(): ValidationResults

Validates the parameter values.

Returns

ValidationResults

Validation result.

X

카카오톡 채널 추가를 통해 GrapeCity의 최신 정보를 빠르게 받아 보세요!