Class BarSkeletonSetting
java.lang.Object
com.iohao.net.framework.core.BarSkeletonSetting
Business Framework Setting
- Author:
- 渔民小镇
- date:
- 2021-12-20
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe default length of actions (level 1 command; main route)booleanSet to true to enable documentation parsingbooleanSet to false to disable printingbooleanSet to true for action log printingbooleanSet to false for short name printing in action logs (class, parameter names, return values)booleanSet to true for codec log printingbooleanSet to true for inout log printingbooleanSet to true for runners log printingintThe default length of sub-actions (level 2 sub-command; sub-route)booleanSet to true to enable JSR380 validation for business parameters.boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cmdMaxLen
public int cmdMaxLenThe default length of actions (level 1 command; main route) -
subCmdMaxLen
public int subCmdMaxLenThe default length of sub-actions (level 2 sub-command; sub-route) -
print
public boolean printSet to false to disable printing -
printAction
public boolean printActionSet to true for action log printing -
printActionShort
public boolean printActionShortSet to false for short name printing in action logs (class, parameter names, return values) -
printInout
public boolean printInoutSet to true for inout log printing -
printDataCodec
public boolean printDataCodecSet to true for codec log printing -
printRunners
public boolean printRunnersSet to true for runners log printing -
validator
public boolean validatorSet to true to enable JSR380 validation for business parameters.
For more information on enabling JSR380 validation, refer to this document: Documentation - JSR380
You will need to include the following dependencies in your project's pom.xml:
<!-- hibernate validator --> <dependency> <groupId>org.hibernate.validator</groupId> <artifactId>hibernate-validator</artifactId> <version>9.0.1.Final</version> </dependency> <!-- EL implementation. In a Java SE environment, you must add the implementation as a dependency to your POM file --> <dependency> <groupId>org.glassfish</groupId> <artifactId>jakarta.el</artifactId> <version>4.0.2</version> </dependency> <!-- jakarta --> <dependency> <groupId>jakarta.validation</groupId> <artifactId>jakarta.validation-api</artifactId> <version>${jakarta.validation-api.version}</version> </dependency> -
validatorAutoCall
public boolean validatorAutoCall -
parseDoc
public boolean parseDocSet to true to enable documentation parsing -
flowContextFactory
-
flowExecutor
-
codeSuggest
-
cmdInfoFlyweightStrategy
-
-
Constructor Details
-
BarSkeletonSetting
public BarSkeletonSetting()
-