priority property

int? priority
final

The priority for the rule within the pipeline.

This determines the order in which it will be matched. A higher priority will be registered earlier in the pipeline, and therefore will be checked for a match before later rules.

The default priority is zero.

Setting the priority allows explicit control over the order in which automatic registrations are added to a pipeline. But normally, setting the priority is not necessary, since the ordering of registrations by their pattern should produce the correct result.

Null if this is annotating a pipeline exception handler. When this is annotating a server exception handler or server raw exception handler, this value is set to either _serverHighLevel or _serverLowLevel, respectively.

Implementation

final int? priority;