Package com.networknt.schema.walk
Class WalkConfig
java.lang.Object
com.networknt.schema.walk.WalkConfig
Configuration used when walking a schema.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forWalkConfig.static classWalkHandlerthat performs no operations but indicates that it should walk. -
Method Summary
Modifier and TypeMethodDescriptionstatic WalkConfig.Builderbuilder()Creates a new builder forWalkConfig.static WalkConfig.Builderbuilder(WalkConfig config) Creates a new builder forWalkConfigand copies the configuration.Gets the strategy for applying defaults.static WalkConfigGets the item walk handler.Gets the keyword walk handler.Gets the property walk handler.
-
Method Details
-
getInstance
-
getApplyDefaultsStrategy
Gets the strategy for applying defaults.- Returns:
- the strategy for applying defaults
-
getPropertyWalkHandler
Gets the property walk handler.- Returns:
- the property walk handler
-
getItemWalkHandler
Gets the item walk handler.- Returns:
- the item walk handler
-
getKeywordWalkHandler
Gets the keyword walk handler.- Returns:
- the keyword walk handler
-
builder
Creates a new builder forWalkConfig.- Returns:
- the builder
-
builder
Creates a new builder forWalkConfigand copies the configuration.- Parameters:
config- the configuration to copy- Returns:
- the builder
-