Enum Class Scope.DEFAULT

java.lang.Object
java.lang.Enum<Scope.DEFAULT>
cn.dinodev.spring.commons.Scope.DEFAULT
All Implemented Interfaces:
Scope, Serializable, Comparable<Scope.DEFAULT>, Constable
Enclosing interface:
Scope

public static enum Scope.DEFAULT extends Enum<Scope.DEFAULT> implements Scope
  • Enum Constant Details

  • Method Details

    • values

      public static Scope.DEFAULT[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Scope.DEFAULT valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Description copied from interface: Scope
      scope 的名字
      Specified by:
      getName in interface Scope
      Returns:
    • getOrder

      public int getOrder()
      Description copied from interface: Scope
      scope 顺序
      Specified by:
      getOrder in interface Scope
      Returns:
    • lowerScopes

      public Scope[] lowerScopes(boolean includeThis)
      Description copied from interface: Scope
      比自己优先级低的Scopes
      Specified by:
      lowerScopes in interface Scope
      Parameters:
      includeThis - 是否包含本Scope
      Returns:
      比自己小或等于自己排序的Scopes
    • higherScopes

      public Scope[] higherScopes(boolean includeThis)
      Description copied from interface: Scope
      比自己优先级高的Scopes
      Specified by:
      higherScopes in interface Scope
      Parameters:
      includeThis - 是否包含本Scope
      Returns:
      比自己大或等于自己排序的Scopes
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Scope.DEFAULT>
    • provider

      public static Function<String,Scope> provider()
    • of

      public static Scope of(String name)