Enum Class ScxCoreFeature

java.lang.Object
java.lang.Enum<ScxCoreFeature>
cool.scx.core.enumeration.ScxCoreFeature
所有已实现的接口:
ScxFeature<Boolean>, Serializable, Comparable<ScxCoreFeature>, Constable

public enum ScxCoreFeature extends Enum<ScxCoreFeature> implements ScxFeature<Boolean>
scx 特性枚举
版本:
1.11.8
作者:
scx567888
  • 枚举常量详细资料

    • SHOW_BANNER

      public static final ScxCoreFeature SHOW_BANNER
      显示 banner
    • SHOW_OPTIONS_INFO

      public static final ScxCoreFeature SHOW_OPTIONS_INFO
      显示 coreConfig 的信息
    • SHOW_MODULE_LIFE_CYCLE_INFO

      public static final ScxCoreFeature SHOW_MODULE_LIFE_CYCLE_INFO
      显示模块生命周期信息
    • SHOW_START_UP_INFO

      public static final ScxCoreFeature SHOW_START_UP_INFO
      显示启动信息
    • USE_DEVELOPMENT_ERROR_PAGE

      public static final ScxCoreFeature USE_DEVELOPMENT_ERROR_PAGE
      是否使用开发人员错误页面
    • ENABLE_SCHEDULING_WITH_ANNOTATION

      public static final ScxCoreFeature ENABLE_SCHEDULING_WITH_ANNOTATION
      目前框架中支持两种添加任务调度的方式 [注解 例如 $Scheduled, 或使用 手动配置的方式 $ScxScheduler]
      此标识表示是否扫描并启用 使用注解类型的定时任务 默认为 true , 及项目启动时扫描并启动所有的 注解类型定时任务
      若设置为 false 则相当与忽略整个项目中所有的 注解类型定时任务 (注意 !!! 手动设置的定时任务 不受此标识影响)
    • ALLOW_CIRCULAR_REFERENCES

      public static final ScxCoreFeature ALLOW_CIRCULAR_REFERENCES
      是否允许 bean 之间的循环依赖 默认 false
    • USE_SPY

      public static final ScxCoreFeature USE_SPY
      是否使用 SPY 进行 SQL 监控 (注意 !!! 开启会影响性能)
  • 方法详细资料

    • values

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

      public static ScxCoreFeature 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • defaultValue

      public Boolean defaultValue()
      指定者:
      defaultValue 在接口中 ScxFeature<Boolean>