Options
All
  • Public
  • Public/Protected
  • All
Menu

A base implementation for rdf-resolve-quad-pattern events that wraps around an IRuleSource.

see

IRuleSource

Hierarchy

Index

Constructors

constructor

Properties

Readonly beforeActors

beforeActors: Actor<IActionRuleResolve, IActorTest, IActorRuleResolveOutput>[]

Readonly bus

Readonly name

name: string

Methods

deinitialize

  • deinitialize(): Promise<any>
  • Deinitialize this actor. This should be used for cleaning up things when the application is shut down, such as closing files and removing temporary files.

    Returns Promise<any>

    A promise that resolves when the actor has been deinitialized.

Protected getDefaultLogData

  • getDefaultLogData(context: IActionContext, data?: () => any): any
  • Parameters

    • context: IActionContext
    • Optional data: () => any
        • (): any
        • Returns any

    Returns any

Protected Abstract getSource

initialize

  • initialize(): Promise<any>
  • Initialize this actor. This should be used for doing things that take a while, such as opening files.

    Returns Promise<any>

    A promise that resolves when the actor has been initialized.

Protected logDebug

  • logDebug(context: IActionContext, message: string, data?: () => any): void
  • Parameters

    • context: IActionContext
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

Protected logError

  • logError(context: IActionContext, message: string, data?: () => any): void
  • Parameters

    • context: IActionContext
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

Protected logFatal

  • logFatal(context: IActionContext, message: string, data?: () => any): void
  • Parameters

    • context: IActionContext
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

Protected logInfo

  • logInfo(context: IActionContext, message: string, data?: () => any): void
  • Parameters

    • context: IActionContext
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

Protected logTrace

  • logTrace(context: IActionContext, message: string, data?: () => any): void
  • Parameters

    • context: IActionContext
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

Protected logWarn

  • logWarn(context: IActionContext, message: string, data?: () => any): void
  • Parameters

    • context: IActionContext
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

run

runObservable

Abstract test

Static getContextLogger

  • getContextLogger(context: IActionContext): undefined | Logger
  • Get the logger from the given context.

    Parameters

    • context: IActionContext

      An optional context.

    Returns undefined | Logger

    The logger or undefined.

Generated using TypeDoc