Package top.mrxiaom.overflow.action
Class ActionContext.Builder
-
- All Implemented Interfaces:
public final class ActionContext.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classActionContext.Builder.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static ActionContext.Builder.CompanionCompanion
-
Method Summary
Modifier and Type Method Description final UnitthrowExceptions(Boolean flag)final UnitshowWarning(Boolean flag)(旧版方法) 是否在报错时显示警告日志迁移说明: null的效果,与showWarning=false一致false的效果,与showWarning=true一致
final UnitignoreStatus(Boolean flag)final ActionContextbuild()构建一个新的 ActionContext -
-
Method Detail
-
throwExceptions
final Unit throwExceptions(Boolean flag)
-
showWarning
final Unit showWarning(Boolean flag)
(旧版方法) 是否在报错时显示警告日志
迁移说明:
null的效果,与showWarning=false一致false的效果,与showWarning=true一致
-
ignoreStatus
final Unit ignoreStatus(Boolean flag)
-
build
final ActionContext build()
构建一个新的 ActionContext
-
-
-