Interface PriorityOrdered

All Known Subinterfaces:
ArkService, Biz, BizDeployService, ClassLoaderService, EventHandler<E>, Plugin, PluginDeployService, ServiceProvider, ServiceReference<T>, TelnetServerService
All Known Implementing Classes:
ExtensionClass

public interface PriorityOrdered
PriorityOrdered is an interface that can be implemented by objects that should be ordered.
Since:
0.4.0
Author:
qilong.zql
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Default priority
    static final int
    Useful constant for the highest precedence value.
    static final int
    Useful constant for the lowest precedence value.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the order value of this object.
  • Field Details

  • Method Details

    • getPriority

      int getPriority()
      Get the order value of this object. Higher values are interpreted as lower priority. As a consequence, the object with the lowest value has the highest priority.
      Returns: