接口 Scope

所有超级接口:
Serializable
所有已知实现类:
Scope.DEFAULT

public interface Scope extends Serializable
scope 接口,用于定义scope范围
作者:
Cody Lu
  • 嵌套类概要

    嵌套类
    修饰符和类型
    接口
    说明
    static enum 
     
  • 方法概要

    修饰符和类型
    方法
    说明
    scope 的名字
    int
    scope 顺序
    higherScopes(boolean includeThis)
    比自己优先级高的Scopes
    lowerScopes(boolean includeThis)
    比自己优先级低的Scopes
  • 方法详细资料

    • getName

      String getName()
      scope 的名字
      返回:
    • getOrder

      int getOrder()
      scope 顺序
      返回:
    • lowerScopes

      Scope[] lowerScopes(boolean includeThis)
      比自己优先级低的Scopes
      参数:
      includeThis - 是否包含本Scope
      返回:
      比自己小或等于自己排序的Scopes
    • higherScopes

      Scope[] higherScopes(boolean includeThis)
      比自己优先级高的Scopes
      参数:
      includeThis - 是否包含本Scope
      返回:
      比自己大或等于自己排序的Scopes