Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModuleConfigurationImpl

Hierarchy

Implements

  • Configuration
  • ModuleConfiguration
  • ContextualizableModuleConfiguration

Index

Constructors

constructor

  • new ModuleConfigurationImpl(applicationConfiguration: ApplicationConfiguration, moduleConstructor: Constructor<Module>): ModuleConfigurationImpl

Properties

Protected moduleConstructor

moduleConstructor: Constructor<Module>

Methods

getOrElse

  • getOrElse<O, T>(property: string, other: O): T | O

getProperty

  • getProperty(property: string): any

getRawObject

  • getRawObject(): object

hasProperty

  • hasProperty(property: string): boolean

inContext

  • inContext(messageContext: Message): MessageContextSwitcher

inContextOfChatThread

  • inContextOfChatThread(chatThreadId: FacebookId): ModuleConfiguration

isEnabled

  • isEnabled(): boolean

Protected resolveModulePropertyPath

  • resolveModulePropertyPath(property?: undefined | string): string

setProperty

  • setProperty(property: string, value: any): void

Generated using TypeDoc