UNPKG

flysh

Version:

DOM Document Object Artifact Collector

73 lines 2.12 kB
import { PageRecords } from '../model/PageRecords'; /** * 'OutputMessage' class model * * Includes all the 'PageRecords' generated from a same domain. * Once filled, this class instance is sent back asynchronously * */ export declare class OutputMessage { /** * Class properties */ private _domain; private _id; private _pageRecordList; /** * Constructor * * @param id Defines the current flysh ID instance * @param domain Contains the domain name (i.e : 'www.abcd.efg') */ constructor(id: number, domain: string); /** * Add a 'PageRecords' class instance * * @param pageRec Contains the records collected from the current page */ addPageRecords(pageRec: PageRecords): void; /** * Getter 'Domain' * * @returns Returns a 'string' that contains the '_domain' class property */ get domain(): string; /** * Performs an 'Integrity Check' from the 'pageRecordList' class property. * If any error(s) are found into the record lists then a 'false' value is returned * * @returns Returns a 'boolean' value after 'PageRecords 'Integrity Check' */ get integrityCheck(): boolean; /** * Getter 'ID' * * @returns Returns the instance 'ID' number */ get ID(): number; /** * Getter number of pages * * @returns Returns the counts number of 'PageRecords' from the 'pagerecordList' class property */ get numberOfPages(): number; /** * Getter number of records * * @returns Returns a 'number' that contains the total of records from all the 'PageRecords' ('pageRecordList') */ get numberOfRecords(): number; /** * Getter 'pageRecordList' * * @returns Returns a 'string' that contains the '_pageRecordList' class property */ get pageRecordList(): Array<PageRecords>; /** * 'Stringify' the class instance * * @returns Returns a 'string' that contains all the class properties */ get toString(): string; } //# sourceMappingURL=OutputMessage.d.ts.map