Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Activity

Hierarchy

  • Activity

Index

Constructors

constructor

Properties

Private activitySchedule

activitySchedule: ScheduleEntry

Private id

id: string

Private lifecycle

lifecycle: LifeCycle

Private page

page: Page

Private store

store: DataStore

Methods

deliver

  • deliver(): void
  • description

    Deliver updated data to activity callback

    author

    Alex Chomiak

    date

    2020-06-25

    memberof

    Activity

    Returns void

getID

  • getID(): string
  • description
    author

    Alex Chomiak

    date

    2020-06-25

    memberof

    Activity

    Returns string

getLifeCycle

getPage

  • getPage(): Page
  • description
    author

    Alex Chomiak

    date

    2020-06-25

    memberof

    Activity

    Returns Page

getScheduleInformation

getStore

setLifeCycle

  • description

    Set activity's life cycle

    author

    Alex Chomiak

    date

    2020-06-25

    memberof

    Activity

    Parameters

    Returns void

setPage

  • setPage(page: Page): void
  • description

    Set Activities puppeteer page instance

    author

    Alex Chomiak

    date

    2020-07-10

    memberof

    Activity

    Parameters

    • page: Page

    Returns void

Abstract setup

  • setup(): void
  • description

    Setup Function that is expected to set parent crawler instance, create activity lifestyle and set the data store used for the activity

    author

    Alex Chomiak

    date

    2020-06-25

    abstract
    memberof

    Activity

    Returns void

Private validate

  • validate(): void
  • description

    validates setup is done correctly for an Activity

    author

    Alex Chomiak

    date

    2020-06-25

    memberof

    Activity

    Returns void

Generated using TypeDoc