PatchbayCommandDescriptor class final

Consumer-neutral catalog entry. Business namespaces remain consumer-owned.

Constructors

PatchbayCommandDescriptor({required String name, required String summary, required PatchbayPlane plane, required PatchbayCommandMode mode, required PatchbaySideEffect sideEffect, required Set<PatchbayFactSource> factSources, List<PatchbayParameterDescriptor> parameters = const <PatchbayParameterDescriptor>[], Set<String> gates = const <String>{}, PatchbayResponseSchema? responseSchema, int? unchangedEvidenceMaxAgeMs, int? confirmationBudgetMs, bool weakConfirmationCompletes = false, PatchbayRetryPolicy? retryPolicy, PatchbayOutputProjection? outputProjection, List<PatchbayCliSyntax> cliSyntax = const <PatchbayCliSyntax>[], PatchbayInteractionModel? interactionModel})
const

Properties

cliSyntax List<PatchbayCliSyntax>
Build-time CLI syntax. It is intentionally absent from the wire form.
final
confirmationBudgetMs int?
final
executionContract PatchbayExecutionContract
no setter
factSources Set<PatchbayFactSource>
Sources that may occur in this command's result payload.
final
gates Set<String>
final
hashCode int
The hash code for this object.
no setterinherited
interactionModel PatchbayInteractionModel?
Optional DG-060-05 direct-target/user-like classification.
final
mode PatchbayCommandMode
final
name String
final
outputProjection PatchbayOutputProjection?
PB-050-40: how a machine consumer's --view brief and local artifact are derived from this command's accepted response.
final
parameters List<PatchbayParameterDescriptor>
final
plane PatchbayPlane
final
responseSchema PatchbayResponseSchema?
final
retryPolicy PatchbayRetryPolicy?
Idempotent retry opt-in for a consumer-owned external command.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sideEffect PatchbaySideEffect
final
summary String
final
unchangedEvidenceMaxAgeMs int?
final
weakConfirmationCompletes bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited
withRuntimeOverrides({Set<String>? gates, Map<String, Object?> parameterDefaults = const <String, Object?>{}}) PatchbayCommandDescriptor
Applies the only catalog fields a runtime adapter may specialize.

Operators

operator ==(Object other) bool
The equality operator.
inherited