HookEventSpec(
self,
event: HookEvent,
owner: HookOwner,
event_model: type[HookDomainEvent| Name | Type |
|---|---|
| event | HookEvent |
| owner | HookOwner |
| event_model | type[HookDomainEvent] |
| decision_model | type[BaseHookDecision] |
| matcher_field | MatcherField | None |
| default_timeout_seconds | float |
| exit_code_policy | ExitCodePolicy |
| plain_output_policy | PlainOutputPolicy |
| aggregation_policy | AggregationPolicy |
| supported_handler_types | frozenset[HandlerType] |
Immutable capability description for one hook event.