(name: string, cliArgs: Record<string, unknown> = {}, driverId: string | null = null)
| 28 | readonly cliArgs: Readonly<Record<string, unknown>>; |
| 29 | |
| 30 | constructor(name: string, cliArgs: Record<string, unknown> = {}, driverId: string | null = null) { |
| 31 | super(); |
| 32 | if (driverId) { |
| 33 | this.updateLogPrefix(`${generateDriverLogPrefix(this)} <${driverId}>`); |
| 34 | } |
| 35 | this.name = name; |
| 36 | this.cliArgs = node.deepFreeze({...cliArgs}); |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * A convenience method for plugins that implement their own `executeMethodMap`. |
nothing calls this directly
no test coverage detected