IPipelineBehaviorContract
Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:91
Declarative contract exposed by a behavior class to define ordering constraints and validation rules checked before the first execution.
Properties
Section titled “Properties”order?
Section titled “order?”
optionalorder?:PipelineBehaviorOrder
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:98
Relative ordering constraints against other behaviors in the pipeline. Targets can be behavior classes or behavior ID / class names (strings). Can be a static rule or a function evaluated with the handler context to restrict constraints to applicable request kinds or configurations.
validate?
Section titled “validate?”
optionalvalidate?: (context) =>PipelineBehaviorDiagnostic[] |undefined
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:103
Validates effective options and declaration sources before the first execution. Returns an array of diagnostics if deterministic misconfigurations are found.
Parameters
Section titled “Parameters”context
Section titled “context”PipelineBehaviorValidationContext
Returns
Section titled “Returns”PipelineBehaviorDiagnostic[] | undefined