2023-08-31 11:25:01 +02:00
|
|
|
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
|
2022-04-07 08:52:19 +02:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2023-08-31 11:25:01 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2022-01-10 17:52:36 +01:00
|
|
|
---
|
2021-11-18 12:10:36 +01:00
|
|
|
type: object
|
2022-04-07 08:52:19 +02:00
|
|
|
properties:
|
|
|
|
enabled:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
description: An optional field which can be used to disable a hook.
|
2024-02-28 00:12:39 +01:00
|
|
|
|
2022-04-07 08:52:19 +02:00
|
|
|
priority:
|
|
|
|
type: integer
|
|
|
|
default: 99
|
|
|
|
description: |
|
|
|
|
The priority of this hook which determines the order in which hooks are executed.
|
|
|
|
Hooks with a lwoer priority are executed before ones with a higher priority.
|
2021-11-18 12:10:36 +01:00
|
|
|
|
2022-04-07 08:52:19 +02:00
|
|
|
If no priority is configured, hooks are executed in the order they are configured in the configuration file.
|