Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AsyncArgdownApplication

Hierarchy

  • ArgdownApplication
    • AsyncArgdownApplication

Index

Constructors

constructor

  • Parameters

    • Optional logger: IArgdownLogger

    Returns AsyncArgdownApplication

Properties

defaultLogger

defaultLogger: IArgdownLogger

defaultProcesses

defaultProcesses: object

Type declaration

  • [name: string]: string[]

logger

logger: IArgdownLogger

processors

processors: object

Type declaration

  • [name: string]: IArgdownProcessor

Methods

addPlugin

  • addPlugin(plugin: IArgdownPlugin, processorId?: undefined | string): void
  • Parameters

    • plugin: IArgdownPlugin
    • Optional processorId: undefined | string

    Returns void

getPlugin

  • getPlugin(name: string, processorId: string): IArgdownPlugin | null
  • Parameters

    • name: string
    • processorId: string

    Returns IArgdownPlugin | null

getPlugins

  • getPlugins(processorId: string): IArgdownPlugin[] | null
  • Parameters

    • processorId: string

    Returns IArgdownPlugin[] | null

load

  • load(request: IArgdownRequest): Promise<IArgdownResponse[] | undefined>

loadConfig

  • loadConfig(filePath: string): Promise<IArgdownRequest>

removePlugin

  • removePlugin(plugin: IArgdownPlugin, processorId: string): void
  • Parameters

    • plugin: IArgdownPlugin
    • processorId: string

    Returns void

removeProcessor

  • removeProcessor(processorId: string): void
  • Parameters

    • processorId: string

    Returns void

run

  • run(request: IArgdownRequest, response?: IArgdownResponse): IArgdownResponse
  • Parameters

    • request: IArgdownRequest
    • Optional response: IArgdownResponse

    Returns IArgdownResponse

runAsync

  • runAsync(request: IArgdownRequest, response?: IArgdownResponse): Promise<IArgdownResponse>

Generated using TypeDoc