@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Order
NOTE: Extension installer must implement Ordered
otherwise annotation will not make any effect.
Also, may be applied to installer to order installers. Installers ordering may be useful if you have some edge case, which is normally handled by core installer. Without ordering you will have to manually register all installers to place your installer before. With ordered you could simply annotate your installer and it will be executed before default installers. Also, may be used to order your own installers order. Core installers are ordered from 10 to 100 with gap 10 (to simplify injection of custom installers between them).
Modifier and Type | Required Element and Description |
---|---|
int |
value |