Enum Class ScxCoreFeature
- 所有已实现的接口:
ScxFeature<Boolean>,Serializable,Comparable<ScxCoreFeature>,Constable
scx 特性枚举
- 版本:
- 1.11.8
- 作者:
- scx567888
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明是否允许 bean 之间的循环依赖 默认 false目前框架中支持两种添加任务调度的方式 [注解 例如 $Scheduled, 或使用 手动配置的方式 $ScxScheduler]
此标识表示是否扫描并启用 使用注解类型的定时任务 默认为 true , 及项目启动时扫描并启动所有的 注解类型定时任务
若设置为 false 则相当与忽略整个项目中所有的 注解类型定时任务 (注意 !!!显示 banner显示 coreConfig 的信息显示模块生命周期信息显示启动信息是否使用开发人员错误页面 -
方法概要
修饰符和类型方法说明static ScxCoreFeatureReturns the enum constant of this class with the specified name.static ScxCoreFeature[]values()Returns an array containing the constants of this enum class, in the order they are declared.从类继承的方法 java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf从接口继承的方法 cool.scx.config.ScxFeature
name
-
枚举常量详细资料
-
SHOW_BANNER
显示 banner -
SHOW_CORE_CONFIG_INFO
显示 coreConfig 的信息 -
SHOW_MODULE_LIFE_CYCLE_INFO
显示模块生命周期信息 -
SHOW_START_UP_INFO
显示启动信息 -
USE_DEVELOPMENT_ERROR_PAGE
是否使用开发人员错误页面 -
ENABLE_SCHEDULING_WITH_ANNOTATION
目前框架中支持两种添加任务调度的方式 [注解 例如 $Scheduled, 或使用 手动配置的方式 $ScxScheduler]
此标识表示是否扫描并启用 使用注解类型的定时任务 默认为 true , 及项目启动时扫描并启动所有的 注解类型定时任务
若设置为 false 则相当与忽略整个项目中所有的 注解类型定时任务 (注意 !!! 手动设置的定时任务 不受此标识影响) -
ALLOW_CIRCULAR_REFERENCES
是否允许 bean 之间的循环依赖 默认 false
-
-
方法详细资料
-
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
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 nameNullPointerException- 如果参数为空值
-
defaultValue
- 指定者:
defaultValue在接口中ScxFeature<Boolean>
-