Options
All
  • Public
  • Public/Protected
  • All
Menu

A comunica Membership RDF Metadata Extract Actor.

Hierarchy

  • ActorRdfMetadataExtract
    • ActorRdfMetadataExtractMembership

Implements

  • IActorArgs<IActionRdfMetadataExtract, IActorTest, IActorRdfMetadataExtractOutput>

Index

Constructors

constructor

Properties

Readonly beforeActors

beforeActors: Actor<IActionRdfMetadataExtract, IActorTest, IActorRdfMetadataExtractOutput>[]

Readonly bus

bus: Bus<Actor<IActionRdfMetadataExtract, IActorTest, IActorRdfMetadataExtractOutput>, IActionRdfMetadataExtract, IActorTest, IActorRdfMetadataExtractOutput>

Readonly mediatorRdfDereference

mediatorRdfDereference: Mediator<Actor<IActionRdfDereference, IActorTest, IActorRdfDereferenceOutput>, IActionRdfDereference, IActorTest, IActorRdfDereferenceOutput>

Readonly mediatorRdfMembership

Readonly name

name: string

Static Readonly MEM

MEM: string = "http://semweb.mmlab.be/ns/membership#"

Static Readonly MEM_LINK

MEM_LINK: string = `${ActorRdfMetadataExtractMembership.MEM}membershipFilter`

Static Readonly MEM_VARIABLE

MEM_VARIABLE: string = `${ActorRdfMetadataExtractMembership.MEM}variable`

Static Readonly RDF_TYPE

RDF_TYPE: "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"

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.

filterPageMembershipFilters

  • filterPageMembershipFilters(pageUrl: string, filters: {}): void

Protected getDefaultLogData

  • getDefaultLogData(context: ActionContext | undefined, data?: () => any): any

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.

initializeFilters

Protected logDebug

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

    • context: ActionContext | undefined
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

Protected logError

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

    • context: ActionContext | undefined
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

Protected logFatal

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

    • context: ActionContext | undefined
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

Protected logInfo

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

    • context: ActionContext | undefined
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

Protected logTrace

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

    • context: ActionContext | undefined
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

Protected logWarn

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

    • context: ActionContext | undefined
    • message: string
    • Optional data: () => any
        • (): any
        • Returns any

    Returns void

run

  • run(action: IActionRdfMetadataExtract): Promise<IActorRdfMetadataExtractOutput>

runObservable

  • runObservable(action: IActionRdfMetadataExtract): Promise<IActorRdfMetadataExtractOutput>
  • Run the given action on this actor AND invokes the {@link Bus#onRun} method.

    Parameters

    • action: IActionRdfMetadataExtract

      The action to run.

    Returns Promise<IActorRdfMetadataExtractOutput>

    A promise that resolves to the run result.

test

  • test(action: IActionRdfMetadataExtract): Promise<IActorTest>

Static detectMembershipProperties

  • detectMembershipProperties(metadata: Stream, filters: {}): Promise<void>

Static getContextLogger

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

    Parameters

    • Optional context: ActionContext

      An optional context.

    Returns Logger | undefined

    The logger or undefined.

Generated using TypeDoc