public interface Plugin
Plugins are registered during parser setup using Omakase.Request.use(Plugin...)
(and similar
methods). Plugins will generally be executed in the order that they are registered.
Note that when implementing a plugin, not all subscriptions will be received automatically. sometimes refinement, such as with
AutoRefine
, is necessary. See the main readme file for more information.
Subscription method invocation order follows this pattern:
@Refine -> @Rework / @Observe -> @
Validate.
In a class hierarchy, the more specific type is received before the more abstract type (e.g., ClassSelector
subscription methods invoked before Selector
subscription methods).
For much more information on utilizing or creating plugins please see the main readme file.
Copyright (c) 2019, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE file in the repository.