interface IActorExtractLinksContentPoliciesArgs {
    actorInitQuery: ActorInitQueryBase;
    beforeActors?: Actor<
        IActionExtractLinks,
        IActorTest,
        IActorExtractLinksOutput,
    >[];
    bus: Bus<
        Actor<IActionExtractLinks, IActorTest, IActorExtractLinksOutput>,
        IActionExtractLinks,
        IActorTest,
        IActorExtractLinksOutput,
    >;
    busFailMessage?: string;
    name: string;
    traverseConditional: boolean;
}

Hierarchy

Implemented by

Properties

actorInitQuery: ActorInitQueryBase

An init query actor that is used to query all links to follow from a stream.

{<urn:comunica:default:init/actors#query>}
beforeActors?: Actor<IActionExtractLinks, IActorTest, IActorExtractLinksOutput>[]

Actor that must be registered in the bus before this actor.

bus: Bus<
    Actor<IActionExtractLinks, IActorTest, IActorExtractLinksOutput>,
    IActionExtractLinks,
    IActorTest,
    IActorExtractLinksOutput,
>

The bus this actor subscribes to.

busFailMessage?: string

The message that will be configured in the bus for reporting failures.

This message may be a template string that contains references to the executed action. For example, the following templated string is allowed: "RDF dereferencing failed: no actors could handle ${action.handle.mediaType}"

name: string

The name for this actor.

{<rdf:subject>}
traverseConditional: boolean

If true (default), then content policies will be applied on links that are being detected by some other actor, if false, then links detected by content policies will forcefully be added to the link queue.

{true}