Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HookHandler<H>

Handler for a certain type of experiment hook.

Type parameters

Hierarchy

Index

Constructors

constructor

  • new HookHandler<H>(id: string, hookClassName: string): HookHandler<H>

Properties

Readonly hookClassName

hookClassName: string

Name of the experiment hook class. This will be used to initialize config files.

Readonly id

id: string

Unique id of this experiment hook type.

Methods

Abstract getDefaultParams

  • Default parameters that should be added to the 'jbr-experiment.json' file during initialization. These should correspond to all (required) Components.js parameters for instantiating an experiment.

    Parameters

    • experimentPaths: IExperimentPaths

      The experiment directories. (guaranteed to exists)

    Returns Record<string, any>

Abstract getSubHookNames

  • getSubHookNames(): string[]

Abstract init

Generated using TypeDoc