Enum Class ScxAppFeature
- All Implemented Interfaces:
cool.scx.config.ScxFeature<Boolean>, Serializable, Comparable<ScxAppFeature>, Constable
public enum ScxAppFeature
extends Enum<ScxAppFeature>
implements cool.scx.config.ScxFeature<Boolean>
scx 特性枚举
- Version:
- 0.0.1
- Author:
- scx567888
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription是否允许 bean 之间的循环依赖 默认 false目前框架中支持两种添加任务调度的方式 [注解 例如 $Scheduled, 或使用 手动配置的方式 $ScxScheduling] 此标识表示是否扫描并启用 使用注解类型的定时任务 默认为 true , 及项目启动时扫描并启动所有的 注解类型定时任务 若设置为 false 则相当与忽略整个项目中所有的 注解类型定时任务 (注意 !!!显示 banner显示模块生命周期信息显示 coreConfig 的信息显示启动信息是否使用开发人员错误页面是否使用 SPY 进行 SQL 监控 (注意 !!! -
Method Summary
Modifier and TypeMethodDescriptionstatic ScxAppFeatureReturns the enum constant of this class with the specified name.static ScxAppFeature[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface cool.scx.config.ScxFeature
name
-
Enum Constant Details
-
SHOW_BANNER
显示 banner -
SHOW_OPTIONS_INFO
显示 coreConfig 的信息 -
SHOW_MODULE_LIFE_CYCLE_INFO
显示模块生命周期信息 -
SHOW_START_UP_INFO
显示启动信息 -
USE_DEVELOPMENT_ERROR_PAGE
是否使用开发人员错误页面 -
ENABLE_SCHEDULING_WITH_ANNOTATION
目前框架中支持两种添加任务调度的方式 [注解 例如 $Scheduled, 或使用 手动配置的方式 $ScxScheduling] 此标识表示是否扫描并启用 使用注解类型的定时任务 默认为 true , 及项目启动时扫描并启动所有的 注解类型定时任务 若设置为 false 则相当与忽略整个项目中所有的 注解类型定时任务 (注意 !!! 手动设置的定时任务 不受此标识影响) -
ALLOW_CIRCULAR_REFERENCES
是否允许 bean 之间的循环依赖 默认 false -
USE_SPY
是否使用 SPY 进行 SQL 监控 (注意 !!! 开启会影响性能)
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
defaultValue
-